简体   繁体   English

有没有一种方法可以使用perl脚本在新的终端窗口中运行python脚本?

[英]Is there a way to run a python script in a new terminal window using a perl Script?

我正在编写一个perl脚本,是否可以通过perl脚本在新的终端窗口中运行python程序,然后通过perl脚本在新的终端中提供常规输入?

Given your last comment (" If it is the same terminal as well it is fine as long as I can give inputs from the perl script ") ... 给您您的最后一条评论(“ 如果也是同一终端,也可以,只要我可以从perl脚本中输入内容就可以了 ”)...

Have a look at Expect . 看看Expect

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM