Struppi: PERL mehrere Befehle auf der Shell absetzen

Beitrag lesen

ich bin mit Perl am bauen und möchte gern mehrere Befehle an die Shell senden, aber das aktuelle Script nicht abrechen oder anhalten.

system("/usr/bin/firefox --display :1 > /dev/null");

du kennst perldoc?
Die komplette Perl Doku auf deiner Festplatte (aber auch im Internet z.b. http://perldoc.perl.org/)

http://perldoc.perl.org/functions/system.html

Does exactly the same thing as exec LIST , except that a fork is done first, and the parent process waits for the child process to complete.

....

sollte helfen...

Struppi.

--
Javascript ist toll (Perl auch!)