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

Re: Newbie Alert: subprocess.call

2010-05-19 Thread Patrick Maupin
On May 19, 9:27 pm, Carbon nob...@nospam.tampabay.rr.com 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

Re: Newbie Alert: subprocess.call

2010-05-19 Thread Ben Finney
Patrick Maupin pmau...@gmail.com writes: On May 19, 9:27 pm, Carbon nob...@nospam.tampabay.rr.com 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

Re: Newbie Alert: subprocess.call

2010-05-19 Thread Chris Rebert
On Wed, May 19, 2010 at 7:27 PM, Carbon nob...@nospam.tampabay.rr.com 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

Re: Newbie Alert: subprocess.call

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