subprocess
How to catch console-closing event?
The context of my problem is: I have a Windows .NET app (GUI) running as a main process. From this (parent) process, I create a couple of sub-processes as console processes.[详细]
2023-03-26 02:31 分类:问答Java: Control browser through Process
I\'m remote controlling a Java application on a PC through an Android phone, and I needed my application to op开发者_StackOverflow中文版en a browser at the phones command, chrome in this case. I creat[详细]
2023-03-26 01:15 分类:问答subprocess and extra args
I\'m trying to use the following code: args = \'LD_LIBRARY_PATH=/opt/java/jre/lib/i386/:/opt/java/jre/lib/amd64/ exec /opt/java/jre/bin/java -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar\'.spli[详细]
2023-03-25 11:17 分类:问答Python subprocess.call and subprocess.Popen giving me different outputs
When using subprocess.call, the output is what is expected. result = subprocess.call([securefx, \'/NoPrompt\', \'/Q\', \'/RetryCount\', retries,[详细]
2023-03-25 07:47 分类:问答How can I feed a subprocess's standard input from a Python iterator?
I am trying to use the subprocess module in Python to communicate with a process that reads standard input and writes standard output in a streaming fashion. I want to have the subprocess read lines f[详细]
2023-03-23 23:27 分类:问答Handle assertion dialog box with python subprocess
I am using python to create a sub process to check and see that no assertions occur. I want to catch the error output along with the return code. That works fine, but the problem I run into is that[详细]
2023-03-23 12:27 分类:问答Python: rsync exclusions not working in script, works in bash shell
Below is a script I am using to test a problem. Running an rsync command via subprocess.check_call does not work in excluding files obtained from an exclude variable.[详细]
2023-03-23 01:03 分类:问答python: executing "start /wait someprocess"
I\'ve used Python\'s subprocess.call() before, but how do you get it to act like the Windows START /WAIT m开发者_Python百科yprogram?[详细]
2023-03-22 23:47 分类:问答Python subprocess: how to pipe to gnuplot a command to plot a variable?
I am not trying to do anything fancy here. I am trying to automate plotting some experiment data in the following script:[详细]
2023-03-22 22:14 分类:问答Python: split and format space separated values in a string to use in subprocess.check_call
I am using subprocess.check_call in combination with rsync. I need to use arguments for rsync that are coming from a string which contains multiple space separated values, however because the string[详细]
2023-03-22 13:57 分类:问答