Steve Holden wrote:
> Yoav wrote:
>
>> I run a Java command line program. The point is, that it's not the
>> program that output this error message for sure. And I don't expect
>> popen3() to catch and report errors. I just want to keep my screen
>> output clean, and I expect popen3() to run th
Yoav wrote:
> I run a Java command line program. The point is, that it's not the
> program that output this error message for sure. And I don't expect
> popen3() to catch and report errors. I just want to keep my screen
> output clean, and I expect popen3() to run the program and not let
> anyt
(Please don't top-post. It makes quoting difficult and it's hard for
people to follow the conversation.)
Yoav wrote:
> I run a Java command line program. The point is, that it's not the
> program that output this error message for sure.
Okay. Since you don't provide any proof, we'll have to
I run a Java command line program. The point is, that it's not the
program that output this error message for sure. And I don't expect
popen3() to catch and report errors. I just want to keep my screen
output clean, and I expect popen3() to run the program and not let
anything slip to the scree
Yoav wrote:
> I use the following code to the console output:
>
> def get_console(cmd):
> try:
> p_in, p_out, p_err = os.popen3(cmd)
> except:
> pass
> out_str = ''
> for obj in p_out:
> out_str = out_str + obj
>
I use the following code to the console output:
def get_console(cmd):
try:
p_in, p_out, p_err = os.popen3(cmd)
except:
pass
out_str = ''
for obj in p_out:
out_str = out_str + obj
for obj in p_err: