Hence I do not need system() and backtick commands which will wait for the process to run and complete. When I use exec(), it is terminating perl. What is the option to do the same? I heard that exec() with fork and waitpid() may handle the same but I am totally unaware of the same. Will someone help me with code snippet of the same with notepad.exe as example? or some other perl command to cater my purpose.
In reply to To run win command with perl with no wait for process to complete and perl to continue furher by Selva123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |