<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7653.3">
<TITLE>RE: Python Launcher released</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>It's a bit strange because it uses "which" to discover the real path. Did<BR>
you put your script in a visible path (e.g.: /usr/bin) with execution flag<BR>
(chmod +x)? If you run "which myapplication.py" it returns a valid path?<BR>
<BR>
By now the daemon only supports shutdown (python-launcher-daemon -s). This<BR>
stops the daemon but keeps running processes alive. The only way to kill<BR>
the last application is "ps -aux | grep python" and "kill -9 PID" where<BR>
PID is the last started python-daemon-launcher process. But would be better<BR>
to use this only if your app freezes.<BR>
<BR>
Thanks for your reports and interest!<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: maemo-developers-bounces@maemo.org on behalf of ext Jeffrey Barish<BR>
Sent: Mon 31-Mar-08 12:04<BR>
To: maemo-developers@maemo.org<BR>
Subject: Re: Python Launcher released<BR>
<BR>
Luciano Miguel Wolf wrote:<BR>
<BR>
> Pylauncher shows this message when wasn't possible to find the script to<BR>
> be executed. Try to use "python ./myapplication.py" or the full path to<BR>
> the script.<BR>
><BR>
> Regards,<BR>
> Luciano Wolf<BR>
<BR>
Yes, prefixing ./ does the trick. Seems a little strange, though, that<BR>
Pylauncher doesn't find a script in the cwd.<BR>
<BR>
One other question: Is there a way to kill myapplication.py once it starts<BR>
running under Pylauncher? I used to use ^c, but Pylauncher exits once it<BR>
gets myapplication running. Can I send a signal to the daemon<BR>
(kill -something)?<BR>
<BR>
Start up is definitely faster -- by about 2 seconds. Nice work.<BR>
--<BR>
Jeffrey Barish<BR>
<BR>
_______________________________________________<BR>
maemo-developers mailing list<BR>
maemo-developers@maemo.org<BR>
<A HREF="https://lists.maemo.org/mailman/listinfo/maemo-developers">https://lists.maemo.org/mailman/listinfo/maemo-developers</A><BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>