开发者

How to run ruby file in the background using Python and get stderr and stout?

开发者 https://www.devze.com 2023-01-19 05:14 出处:网络
I am developing a Python based GUI. I need to run a ruby fileand ge开发者_运维问答t its output. I did it successfully using subprocess module.

I am developing a Python based GUI.

I need to run a ruby file and ge开发者_运维问答t its output. I did it successfully using subprocess module. But I need to run the file in the background and I need to get its output as well.

Can you please let me know how to achieve this?

0

精彩评论

暂无评论...
验证码 换一张
取 消