<div dir="ltr">exec makes the shell replace its own process with the command instead of running a sub-process, so ya what Mikael said.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 31, 2014 at 3:15 AM, E R <span dir="ltr"><<a href="mailto:ears.box@gmail.com" target="_blank">ears.box@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Actually my bad, this does appear to work;<br>
<br>
<command>sh -c "icecat &gt; /dev/null 2&gt;&amp;1 &amp;"</command><br>
<br>
So you're saying I should change it to this instead?<br>
<br>
<br>
<command>sh -c "exec icecat &gt; /dev/null 2&gt;&amp;1 &amp;"</command><br>
<br>
I've never known to put exec in a openbox menu.xml <command> before, hmm<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Thu, Oct 30, 2014 at 9:06 PM, Mikael Magnusson <<a href="mailto:mikachu@gmail.com">mikachu@gmail.com</a>> wrote:<br>
> On Fri, Oct 31, 2014 at 7:12 AM, E R <<a href="mailto:ears.box@gmail.com">ears.box@gmail.com</a>> wrote:<br>
>> Hi,<br>
>><br>
>> I want to run some apps to /dev/null in menu.xml, so I have like this<br>
>> example below;<br>
>><br>
>> <command>sh -c "icecat &gt; /dev/null 2&gt;&amp;1"</command><br>
>><br>
>> But if run the command like this I see in htop the application name<br>
>> running and sh too.<br>
>><br>
>> I forgot who it was just recently showed me how to stop sh from<br>
>> running when using commands in the autostart.sh, but not sure how to<br>
>> apply this to the menu.xml command.<br>
>><br>
>><br>
>> All I understand is that I need an ampersand & on the end of the<br>
>> command, something like this?<br>
>><br>
>> <command>sh -c "icecat &gt; /dev/null 2&gt;&amp;1 &"</command><br>
><br>
> use sh -c "exec icecat ...<br>
><br>
> --<br>
> Mikael Magnusson<br>
> _______________________________________________<br>
> openbox mailing list<br>
> <a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
> <a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
_______________________________________________<br>
openbox mailing list<br>
<a href="mailto:openbox@icculus.org">openbox@icculus.org</a><br>
<a href="http://icculus.org/mailman/listinfo/openbox" target="_blank">http://icculus.org/mailman/listinfo/openbox</a><br>
</div></div></blockquote></div><br></div>