![](/img/trans.png)
[英]How Do I Run a Perl Script from Cmd without typing “perl” in front of the script path?
[英]I want run another perl script from one perl script , but i need to execute it separately
我需要perl脚本来触发另一个应在单独的命令提示符下运行的脚本。
#!/usr/bin/perl
system("perl exe_klarity.pl");
#!/usr/bin/perl
system("perl exe_klarity.pl");
当运行此代码时,其仅在同一命令提示符下运行,而不会进入单独的窗口,请提供帮助
尝试
system("start perl exe_klarity.pl");
start
在新的控制台窗口中执行命令。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.