With vanilla SublimeText 2.0.1, I can’t run any build system on Windows XP. I keep getting this error :
Error 6 this handle is invalid
To fix it, I added the parameter stdin=subprocess.PIPE to the subprocess.Popen call in Data/Packages/Default/exec.py :
self.proc = subprocess.Popen(arg_list,
stdout=subprocess.PIPE, stderr=subprocess.PIPE,
stdin=subprocess.PIPE,
startupinfo=startupinfo,
env=proc_env,
shell=shell)
You also need to specify that your ouput uses cp1252. This is for example a makefile-less quick and dirty C++ build system :
{
“cmd”: “g++.exe src/.cpp"],
“shell”:true,
“working_dir”:"${project_path:${folder}}",
“file_regex”:"^(…?):([0-9]*)”,
“encoding”: “cp1252”
}
Hope this helps…