Lines Matching refs:exe
37 exe = os.path.join(tmpdir, 'foo.sh')
38 self.write_file(exe, '#!/bin/sh\nexit 1')
39 os.chmod(exe, 0777)
41 exe = os.path.join(tmpdir, 'foo.bat')
42 self.write_file(exe, 'exit 1')
44 os.chmod(exe, 0777)
45 self.assertRaises(DistutilsExecError, spawn, [exe])
49 exe = os.path.join(tmpdir, 'foo.sh')
50 self.write_file(exe, '#!/bin/sh\nexit 0')
51 os.chmod(exe, 0777)
53 exe = os.path.join(tmpdir, 'foo.bat')
54 self.write_file(exe, 'exit 0')
56 os.chmod(exe, 0777)
57 spawn([exe]) # should work without any error