Lines Matching refs:exe
38 exe = os.path.join(tmpdir, 'foo.sh')
39 self.write_file(exe, '#!%s\nexit 1' % unix_shell)
41 exe = os.path.join(tmpdir, 'foo.bat')
42 self.write_file(exe, 'exit 1')
44 os.chmod(exe, 0o777)
45 self.assertRaises(DistutilsExecError, spawn, [exe])
49 exe = os.path.join(tmpdir, 'foo.sh')
50 self.write_file(exe, '#!%s\nexit 0' % unix_shell)
52 exe = os.path.join(tmpdir, 'foo.bat')
53 self.write_file(exe, 'exit 0')
55 os.chmod(exe, 0o777)
56 spawn([exe]) # should work without any error