http://perldoc.perl.org/functions/system.html
... the parent process waits for the child process to complete.
The return value is the exit status of the program as returned by the wait call.

You want to first fork and run the command in its own thread.

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

$val = fork;
if ( not defined $val ) {
  print "Fork failed"
} elsif ($val == 0) {
  system('notepad.exe');
  exit;
}
...

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to