Re: SHEL - Konsole wieder haben
> IMHO klar, da Du es nicht mit '&' in den Hintergrund schickst.
Ok, so habe ich es natürlich auch versucht.
Die PID wird dann nicht erstellt und so mit kann man es auch nicht anhalten.
> > Ich habe auch versucht ein init script zu nehmen.
> >
> > start) log_daemon_msg "Starting"
> > start-stop-daemon --start --quiet --pidfile /my.pid --name
> > mailboxer --startas "python /home/vavvav/A/sh/MailBoxerPop.py" --
> > $LSBNAMES
> > log_end_msg $?
> > ;;
> > Leider beim starten weiss es nichts mit python anzufangen
> >
> > Starting:start-stop-daemon: Unable to start python
> > /home/vavvav/A/sh/Mail.py: No such file or directory (No such file or
> > directory)
> > failed!
>
> Was erzaählt denn ein 'which python'?
#!/usr/bin/python
Das habe ich bei dem Python script eingefügt. Es kommt im falle zwei
zum PermissionDenied, wenn man es ohne python aufruft.
<snip>
start-stop-daemon --start --quiet --pidfile /my.pid --name
mailboxer --startas "/home/vavvav/A/sh/Mail.py"
</snip>
Viele Grüße
Vlad
--
Best Regards
Vlad Vorobiev
http://www.mymir.org
Reply to: