Re: Newbie Alert: subprocess.call

2010-05-19 Thread Patrick Maupin
On May 19, 10:28 pm, Ben Finney wrote: > Better is to use ‘shlex.split’ to split the string as a shell parser > would do http://docs.python.org/library/shlex#shlex.split>. Good point. I always forget about shlex.split because I'm usually passing (relatively) constant strings with no funny quoti

Re: Newbie Alert: subprocess.call

2010-05-19 Thread Chris Rebert
On Wed, May 19, 2010 at 7:27 PM, Carbon wrote: > I am new to Python and am trying to write a GUI wrapper script in python > 2.5 to get username and passwords from Linux users to send as options to > run an app on a 2X terminal server. I came across the easygui module and > its multpasswordbox func

Re: Newbie Alert: subprocess.call

2010-05-19 Thread Ben Finney
Patrick Maupin writes: > On May 19, 9:27 pm, Carbon wrote: > > subprocess.call(["/opt/2X/Client/bin/appserverclient", "-u > > fieldValues [0]", "-p fieldValues[1]", "-s ts.mycompany.org:80", "-d > > corp", "-S local", "-c 16", "-e 0xF", "-l 0x0409", "-a #1"]) As Patrick says, you need to give t

Re: Newbie Alert: subprocess.call

2010-05-19 Thread Patrick Maupin
On May 19, 9:27 pm, Carbon wrote: > I am new to Python and am trying to write a GUI wrapper script in python > 2.5 to get username and passwords from Linux users to send as options to > run an app on a 2X terminal server. I came across the easygui module and > its multpasswordbox function, which m

Newbie Alert: subprocess.call

2010-05-19 Thread Carbon
I am new to Python and am trying to write a GUI wrapper script in python 2.5 to get username and passwords from Linux users to send as options to run an app on a 2X terminal server. I came across the easygui module and its multpasswordbox function, which made popping a dialog box and storing th