& is specific to unix shells. The Windows shell equivalent is start:
my $result = system("start C:\\Programme\\service.exe");
Unforunately, start doesn't return the process id, so it's not too useful to you. It might be useful to other readers of this thread, though.
In reply to Re: Start a service, wait 10 seconds, and stop the service.
by ikegami
in thread Start a service, wait 10 seconds, and stop the service.
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |