Similarly if you just wanted to start the default application then you can omit the program and just exec the file. In this situation, exec may be essential because the default editor may support multiple documents and the user wouldn't necessarily want to close it. The Perl application won't have to wait.
#launch notepad explicitly exec ("notepad $path_to_text_file"); # or launch the default application exec ("$path_to_text_file");
In reply to Re^2: how to open a separate notepad
by inman
in thread how to open a separate notepad
by arunmep
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |