Scroll to navigation

Posix.system(3kaya) Kaya module reference Posix.system(3kaya)

NAME

Posix::system - Run an external program

SYNOPSIS

Void system( String cmd )

ARGUMENTS

cmd The command to run

DESCRIPTION

Run an external program. If the external program exits with a non-zero status, a Posix.NonZeroExit (3kaya) exception will be thrown.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

Posix.call (3kaya)
Posix.fork (3kaya)
Posix.popen (3kaya)
August 2014 Kaya