On 2004-12-22, Erik Geiger <[EMAIL PROTECTED]> wrote:
> Donn Cave schrieb:
>
>> In article <[EMAIL PROTECTED]>, Erik Geiger <[EMAIL PROTECTED]>
>> wrote:
> [...]
>> > Thats what I've tried, but it did not work. Maybe it's because I want to
>> > start something like su -c '/path/to/skript $parameter
Donn Cave schrieb:
> In article <[EMAIL PROTECTED]>, Erik Geiger <[EMAIL PROTECTED]>
> wrote:
[...]
> > Thats what I've tried, but it did not work. Maybe it's because I want to
> > start something like su -c '/path/to/skript $parameter1 $parameter2'
> > user
> Unfortunately this particular case
In article <[EMAIL PROTECTED]>, Erik Geiger <[EMAIL PROTECTED]>
wrote:
> Fredrik Lundh schrieb:
>
> > Erik Geiger wrote:
> >
> [...]
> >> How to start a shell script without waiting for the exit of that shell
> >> script? It shall start the shell script and immediately execute the next
> >> pyth
Thanks, thats what I use now :)
Harlin Seritt schrieb:
> Quickie:
>
> os.system("/path/to/script.sh &")
>
> More elegant, have a look at threads
>
>
> Harlin Seritt
>
> Erik Geiger wrote:
>
>> Hi,
>>
>> sorry, my english ist not that got but I'll try.
>>
>> I have a running py
Jean Brouwers schrieb:
>
>
> See the os. spawn* functions. For example
>
> os.spawnv(os.P_NOWAIT, /path/to/script, args)
>
> /Jean Brouwers
>
>
Thats what I've tried, but failed.
Thanks anyway ;-)
Greets
Erik
[...]
--
Jemanden wie ein rohes Ei zu behandeln kann auch bedeuten, ihn in
Fredrik Lundh schrieb:
> Erik Geiger wrote:
>
[...]
>> How to start a shell script without waiting for the exit of that shell
>> script? It shall start the shell script and immediately execute the next
>> python command.
>
> if you have Python 2.4, you can use the subprocess module:
>
> htt
Erik Geiger wrote:
> I have a running python script (capisuit incoming.py). This script shall
> start a linux shell script. If I start this script like os.system(/paht/to
> shellscipt.sh) the python scipt waits for the exit of the shell script and
> then goes on with the rest of the python script.
See the os. spawn* functions. For example
os.spawnv(os.P_NOWAIT, /path/to/script, args)
/Jean Brouwers
In article <[EMAIL PROTECTED]>, Erik Geiger <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> sorry, my english ist not that got but I'll try.
>
> I have a running python script (capisuit incoming
Quickie:
os.system("/path/to/script.sh &")
More elegant, have a look at threads
Harlin Seritt
Erik Geiger wrote:
> Hi,
>
> sorry, my english ist not that got but I'll try.
>
> I have a running python script (capisuit incoming.py). This script shall
> start a linux shell script.
Hi,
sorry, my english ist not that got but I'll try.
I have a running python script (capisuit incoming.py). This script shall
start a linux shell script. If I start this script like os.system(/paht/to
shellscipt.sh) the python scipt waits for the exit of the shell script and
then goes on with the
10 matches
Mail list logo