Lines Matching full:exe
26 exe = os.path.join(tmpdir, 'foo.sh')
27 self.write_file(exe, '#!%s\nexit 1' % unix_shell)
29 exe = os.path.join(tmpdir, 'foo.bat')
30 self.write_file(exe, 'exit 1')
32 os.chmod(exe, 0o777)
33 self.assertRaises(DistutilsExecError, spawn, [exe])
37 exe = os.path.join(tmpdir, 'foo.sh')
38 self.write_file(exe, '#!%s\nexit 0' % unix_shell)
40 exe = os.path.join(tmpdir, 'foo.bat')
41 self.write_file(exe, 'exit 0')
43 os.chmod(exe, 0o777)
44 spawn([exe]) # should work without any error
50 # Give the temporary program an ".exe" suffix for all.
52 program = program_noeext + ".exe"
64 # test without ".exe" extension