Selva123 has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|