Posix.call(3kaya)
NAME
Posix::call - Get the output of an external program
SYNOPSIS
String call( String cmd )
ARGUMENTS
cmd The command to run
DESCRIPTION
Return the output of 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.fork (3kaya)
Posix.popen (3kaya)
Posix.system (3kaya)