Thread Activestate Perl auf Windows - system aufruf: system-aufruf (5 answers)
Opened by kann_kein_perl at 2005-10-28 15:57

GwenDragon
 2005-10-28 17:10
#59477 #59477
User since
2005-01-17
14788 Artikel
Admin1
[Homepage]
user image
system liefert nicht den Inhalt der Ausgabe des Programms zurück!
Quote
The return value is the exit status of the program as returned
by the "wait" call. To get the actual exit value divide by 256.
See also the exec entry elsewhere in this document. This is
*not* what you want to use to capture the output from a command,
for that you should use merely backticks or "qx//", as described
in the section on "`STRING`" in the perlop manpage. Return value
of -1 indicates a failure to start the program (inspect $! for
the reason).
Auszug
perldoc -f system

View full thread Activestate Perl auf Windows - system aufruf: system-aufruf