Run dxr-worker.py via sys.executable #97

Merged
merged 1 commit into from Feb 12, 2013

Conversation

Projects
None yet
2 participants
@mook
Contributor

mook commented Feb 12, 2013

When dxr-worker.py gets installed, it can lose its execute bit. Always run it via sys.executable so we don't have to worry about this (and also makes sure we end up running the correct instance of python to boot).

Run dxr-worker.py via sys.executable
When dxr-worker.py gets installed, it can lose its execute bit.  Always run it via sys.executable so we don't have to worry about this (and also makes sure we end up running the correct instance of python to boot).
@erikrose

This comment has been minimized.

Show comment
Hide comment
@erikrose

erikrose Feb 12, 2013

Member

That's pretty freaking brilliant. That'll cover us until we get around to multiprocessing. :-)

Member

erikrose commented Feb 12, 2013

That's pretty freaking brilliant. That'll cover us until we get around to multiprocessing. :-)

erikrose added a commit that referenced this pull request Feb 12, 2013

@erikrose erikrose merged commit 7d6fa90 into mozilla:testing Feb 12, 2013

1 check passed

default Jenkins build 'dxr-github' #125 has succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment