Re: [Tutor] Subprocess help

2014-09-21 Thread Danny Yoo
> "Semantically, the command above means: > execute "./octosetupBROADCASTER-linux_i386.bin" in an environment > that binds BYPASSROOT to "yes"." > > Does the above mean "BYPASSROOT" is an environmet variable? Is this created > and set by default by the system or is it created and set by > "octo

Re: [Tutor] Subprocess help

2014-09-21 Thread Crush
Thank you Danny for your assistance. Just a couple of follow up questions to help me understand what is going on. You said... "Semantically, the command above means: execute "./octosetupBROADCASTER-linux_i386.bin" in an environment that binds BYPASSROOT to "yes"." Does the above mean "BYPASSR

Re: [Tutor] Subprocess help

2014-09-20 Thread Danny Yoo
> The command I need to run is "BYPASSROOT=yes > ./octosetupBROADCASTER-linux_i386.bin" Semantically, the command above means: execute "./octosetupBROADCASTER-linux_i386.bin" in an environment that binds BYPASSROOT to "yes". The subprocess.Popen command takes in an optional "env" argument,

[Tutor] Subprocess help

2014-09-20 Thread Crush
Hey all, hope everyone is well. I am trying to write a script that automates a certain task I have recently found myself doing a lot lately. The command I need to run is "BYPASSROOT=yes ./octosetupBROADCASTER-linux_i386.bin" I know how to use subprocess to execute the "./octosetup..." command

Re: [Tutor] subprocess help, nohup

2007-11-18 Thread Martin Walsh
John wrote: > Hello, Hi John, I didn't see a response to your question, so I'll make an attempt ... > > I've written a script which conducts several subprocess calls and then > ultimately calls a shell script which runs even more programs... my > script is using subprocess to execute a few sed

[Tutor] subprocess help, nohup

2007-11-13 Thread John
Hello, I've written a script which conducts several subprocess calls and then ultimately calls a shell script which runs even more programs... my script is using subprocess to execute a few sed calls, and then execute the script. I'm getting strange behavior: Here's a snippet of my script (any ge