Lines Matching refs:exe
28 exe = os.path.join(tmpdir, 'foo.sh')
29 self.write_file(exe, '#!%s\nexit 1' % unix_shell)
31 exe = os.path.join(tmpdir, 'foo.bat')
32 self.write_file(exe, 'exit 1')
34 os.chmod(exe, 0o777)
35 self.assertRaises(DistutilsExecError, spawn, [exe])
39 exe = os.path.join(tmpdir, 'foo.sh')
40 self.write_file(exe, '#!%s\nexit 0' % unix_shell)
42 exe = os.path.join(tmpdir, 'foo.bat')
43 self.write_file(exe, 'exit 0')
45 os.chmod(exe, 0o777)
46 spawn([exe]) # should work without any error
52 # Give the temporary program an ".exe" suffix for all.
54 program = program_noeext + ".exe"
66 # test without ".exe" extension