<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi!</p>
<p>Single instance handling has always been broken for Sailfish OS
3.</p>
<p>Not even different .desktop files with different Exec entries
like these are working, as they are probably both interpreted as
"python3":<br>
</p>
<pre class="prettyprint"><code><span class="typ">Exec</span><span class="pun">=</span><span class="pln">python3 </span><span class="pun">/</span><span class="pln">path</span><span class="pun">/</span><span class="pln">to</span><span class="pun">/</span><span class="pln">application</span><span class="pun">/</span><span class="pln">app</span><span class="pun">1.</span><span class="pln">py
</span></code>
<code><span class="pln"><code><span class="typ">Exec</span><span class="pun">=</span><span class="pln">python3 </span><span class="pun">/</span><span class="pln">path</span><span class="pun">/</span><span class="pln">to</span><span class="pun">/</span><span class="pln">application</span><span class="pun">/</span><span class="pln">app</span><span class="pun">2.</span><span class="pln">py</span></code>
</span></code></pre>
<p>See
<a class="moz-txt-link-freetext" href="https://together.jolla.com/question/193960/problem-with-excec-and-single-instance-in-desktop-files-on-sailfish-os-3/">https://together.jolla.com/question/193960/problem-with-excec-and-single-instance-in-desktop-files-on-sailfish-os-3/</a></p>
<p><br>
</p>
<p>(Fortunately for the Python applications there's a workaround:
start both apps within a second or so...)<br>
</p>
<p>Regards,</p>
<p>Dietmar<br>
</p>
</body>
</html>