<div dir="ltr"><div>Hi people,<br></div><div><br></div><div>I&#39;m creating a new Portfile with <font face="monospace, monospace">startupitem.executable</font>, and wondering what is the best way to execute the command with a specific user.</div><div><br></div><div>I tried using &quot;<font face="monospace, monospace">su -c executable args</font>&quot; but with this approach <font face="monospace, monospace">launchd</font> ends up monitoring the &quot;<font face="monospace, monospace">su</font>&quot; process instead of the &quot;<font face="monospace, monospace">executable</font>&quot;<br><br>What would you recommend to do so launchd looks at the &quot;<font face="monospace, monospace">executable</font>&quot; process?</div><div><br><br><br><br></div><div><br></div><div>Cheers</div><div><br></div><div><div><br></div>-- <br><div><div dir="ltr"><span style="font-size:12.8px">Javier</span><br></div></div>
</div></div>