[英]I want run another perl script from one perl script , but i need to execute it separately
I need perl script to trigger another script which should run in seperate command prompt. 我需要perl脚本来触发另一个应在单独的命令提示符下运行的脚本。
#!/usr/bin/perl
system("perl exe_klarity.pl");
#!/usr/bin/perl
system("perl exe_klarity.pl");
When run this code its running only in the same command prompt, not getting in seperate window, please help 当运行此代码时,其仅在同一命令提示符下运行,而不会进入单独的窗口,请提供帮助
Try 尝试
system("start perl exe_klarity.pl");
start
executes a command in a new console window. start
在新的控制台窗口中执行命令。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.