RE: psql.py - subprocess.call vs subprocess.check_call

2015-03-24 Thread Mark Tse
] Sent: March-24-15 10:38 AM To: dev@phoenix.apache.org Subject: Re: psql.py - subprocess.call vs subprocess.check_call How will using check_call instead of call impact keyboard interrups and stout/stderr handling of the child process? On Tuesday, March 24, 2015, Mark Tse wrote: > FYI ad

Re: psql.py - subprocess.call vs subprocess.check_call

2015-03-24 Thread Nick Dimiduk
k Tse [mailto:mark@d2l.com ] > Sent: March-23-15 10:11 AM > To: dev@phoenix.apache.org > Subject: psql.py - subprocess.call vs subprocess.check_call > > Hi there, > > I'm assuming the purpose of psql.py is to call it via a terminal so that > it can be incorporated int

RE: psql.py - subprocess.call vs subprocess.check_call

2015-03-24 Thread Mark Tse
FYI added https://issues.apache.org/jira/browse/PHOENIX-1770 Mark -Original Message- From: Mark Tse [mailto:mark@d2l.com] Sent: March-23-15 10:11 AM To: dev@phoenix.apache.org Subject: psql.py - subprocess.call vs subprocess.check_call Hi there, I'm assuming the purpose of ps

psql.py - subprocess.call vs subprocess.check_call

2015-03-23 Thread Mark Tse
Hi there, I'm assuming the purpose of psql.py is to call it via a terminal so that it can be incorporated into a script. If my assumption is correct, is there a reason we do: subprocess.call(java_cmd, shell=True) instead of: subprocess.check_call (java_cmd, shell=True) Code in question: https: