<!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 &quot;which&quot; 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 &quot;which myapplication.py&quot; 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 &quot;ps -aux | grep python&quot; and &quot;kill -9 PID&quot; 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>
&gt; Pylauncher shows this message when wasn't possible to find the script to<BR>
&gt; be executed. Try to use &quot;python ./myapplication.py&quot; or the full path to<BR>
&gt; the script.<BR>
&gt;<BR>
&gt; Regards,<BR>
&gt; Luciano Wolf<BR>
<BR>
Yes, prefixing ./ does the trick.&nbsp; 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?&nbsp; I used to use ^c, but Pylauncher exits once it<BR>
gets myapplication running.&nbsp; Can I send a signal to the daemon<BR>
(kill -something)?<BR>
<BR>
Start up is definitely faster -- by about 2 seconds.&nbsp; 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>