1Posix.call(3kaya) Kaya module reference Posix.call(3kaya)
2
3
4
6 Posix::call - Get the output of an external program
7
9 String call( String cmd )
10
12 cmd The command to run
13
15 Return the output of an external program. If the external program exits
16 with a non-zero status, a Posix.NonZeroExit (3kaya) exception will be
17 thrown.
18
20 Kaya standard library by Edwin Brady, Chris Morris and others
21 (kaya@kayalang.org). For further information see http://kayalang.org/
22
24 The Kaya standard library is free software; you can redistribute it
25 and/or modify it under the terms of the GNU Lesser General Public
26 License (version 2.1 or any later version) as published by the Free
27 Software Foundation.
28
30 Posix.fork (3kaya)
31 Posix.popen (3kaya)
32 Posix.system (3kaya)
33
34
35
36Kaya December 2010 Posix.call(3kaya)