[nflug] FreePascal Shell Command
Mark Deazley
mdeazley at krystalmonolith.com
Mon Oct 27 14:18:02 EDT 2008
In the PDF document:
ftp://ftp.freepascal.org/pub/fpc/docs-pdf/rtl.pdf
on page 1534, section 32.3.28, the 'Shell' function is
described...
Declaration: function Shell(const Command: String) : cint
function Shell(const Command: AnsiString) : cint
"Shell invokes the bash shell (/bin/sh), and feeds it the command Command
(using the -c option).
The function then waits for the command to complete, and then returns the
exit status of the
command, or 127 if it could not complete the FpFork (140) or FpExecve
(137) calls."
Does this fit the requirement???
MJD
--
Mark J. Deazley (mdeazley {at} krystalmonolith [dot] com)
http://www.krystalmonolith.com
More information about the nflug
mailing list