Hello all great and powerful Monks. Using a Windows OS, How can I spawn a new perl program without popping up a new cmd.exe window? Since I will be pipe-ing all output to file(s), there is no need for an annoying black command window. I know I can start it minimized, But I just don't like all those windows down on that task bar.
example code:if ($^O eq "linux") { $cmd = "perl-prog.pl &> file1.out"; } else { $cmd = "start /MIN perl-prog.pl > file1.out 2> file2.out" } system ($cmd);
In reply to How do I start perl without having a "cmd.exe" window by mark4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |