If you're in Windows and "cmd" expects a list of hosts as arguments, "&" would be treated as a host name since "&" doesn't mean anything to the Windows shell. Understandably, "cmd" can't connect to host "&".
system("start cmd") is Windows's equivalent to unix's system("cmd &").
In reply to Re: Run the process in the background
by ikegami
in thread Run the process in the background
by perl@newbie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |