Re: [Pythonmac-SIG] Environment variable issues running py2app application

2013-04-25 Thread Paul Wiseman
On 24 April 2013 19:29, Ned Deily wrote: > In article > , > Paul Wiseman wrote: > > I've never seen this problem before but one user seems to be experiencing > > this issue and I'm at a bit of a loss as to what the cause could be > > > > One part of the app runs this: subprocess.Popen(['/usr/bi

Re: [Pythonmac-SIG] Environment variable issues running py2app application

2013-04-25 Thread Ronald Oussoren
On 25 Apr, 2013, at 10:41, Paul Wiseman wrote: > On 24 April 2013 19:29, Ned Deily wrote: > In article > , > Paul Wiseman wrote: > > I've never seen this problem before but one user seems to be experiencing > > this issue and I'm at a bit of a loss as to what the cause could be > > > > One pa

Re: [Pythonmac-SIG] Environment variable issues running py2app application

2013-04-25 Thread Paul Wiseman
On 25 April 2013 13:08, Ronald Oussoren wrote: > > On 25 Apr, 2013, at 10:41, Paul Wiseman wrote: > > > On 24 April 2013 19:29, Ned Deily wrote: > > In article > > , > > Paul Wiseman wrote: > > > I've never seen this problem before but one user seems to be > experiencing > > > this issue and

Re: [Pythonmac-SIG] Environment variable issues running py2app application

2013-04-25 Thread Ronald Oussoren
On 25 Apr, 2013, at 16:29, Paul Wiseman wrote: > To reset the path, would I just update the PATH entry in the os.environ dict? > Presumably I could just add /usr/bin:/usr/sbin to the start of PATH when the > app starts up, then I should be ok? Yes, "os.environ['PATH'] = '/usr/bin:/usr/sbin:' +