sandbox prevents cmake executing /bin/ps

Jeremy Lavergne jeremy at lavergne.gotdns.org
Fri Dec 13 17:24:50 PST 2013


porttrace.tcl should have the sandbox exceptions
http://trac.macports.org/browser/trunk/base/src/port1.0/porttrace.tcl#L42


Bradley Giesbrecht wrote:
> Setting "sandbox_enable no" in macports.conf allows the following cmake line to succeed during the configure phase:
> EXECUTE_PROCESS(COMMAND ps -ef OUTPUT_QUIET ERROR_QUIET RESULT_VARIABLE result)
>
> What is the best way to deal with this, is there a way to add /bin/ps to the sandbox env?
>
>
> Regards,
> Bradley Giesbrecht (pixilla)
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-dev


More information about the macports-dev mailing list