If you can call /usr/bin/env you can use that as an intermediary.

Sent from my iPhone

> On Dec 16, 2015, at 15:47, Rick Mann <rm...@latencyzero.com> wrote:
> 
> I'm working on an OS X app that unfortunately has to call a series of bash 
> and python scripts for part of the processing it does. I was able to include 
> the scripts in my app's bundle, and invoke them there, but the environment is 
> different when launched via my app than when launched on the command line. 
> How can I best control the environment used when executing external scripts?
> 
> -- 
> Rick Mann
> rm...@latencyzero.com
> 
> 
> 
> _______________________________________________
> 
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> 
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
> 
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/max%40maxchan.info
> 
> This email sent to m...@maxchan.info

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to