Commit Graph

7 Commits

Author SHA1 Message Date
Gregory Szorc
ee8de2df32 Bug 951736 - Adjust sys.path while native commands are executed; r=ted
The previous behavior only adjusted sys.path during module import. This
caused problems when there were delayed imports.
2013-12-18 09:45:56 -08:00
Siddharth Agarwal
5ba2d0a3d8 Bug 788971 - Pymake chokes when native commands raise exceptions without a "code" attribute. r=ted 2012-09-08 02:54:05 +05:30
Siddharth Agarwal
edf4071a17 Bug 782847 - Pymake native commands don't pass the correct environment to subprocesses. r=gps DONTBUILD
This change is technically backwards incompatible, but it brings native command
behavior in line with subprocess behavior.
2012-08-22 02:48:11 +05:30
Siddharth Agarwal
d4e9405220 Bug 772186 - Support return values from pymake native commands. r=khuey
If the return value is an integer, treat it like an exit code. Otherwise, if
it is None, treat it like 0. Otherwise treat it as an error. This behaviour is
equivalent to that of sys.exit. Also fix our own sys.exit handling to match
this, and add tests for everything.
2012-07-12 09:52:25 +05:30
Kyle Huey
9c2b5d5c72 Update pymake snapshot to pull Bug 755828 and remove incorrectly added MPL 2 headers. 2012-05-25 12:14:16 -07:00
Kyle Huey
b35402f4b1 Update to pymake tip to pick up bug 700203. 2011-11-06 21:53:30 -05:00
Kyle Huey
1b544f4ccb Update in-tree pymake to tip. a=NPOTB 2010-10-18 09:50:27 -04:00