File workingDir = new File(fileName).getParentFile();
Process p = workingDir.exists() ? DebugPlugin.exec(cmdLine,
workingDir, envp) : DebugPlugin.exec(cmdLine, null, envp);
// Attach a crash detector
new Thread(new ProcessCrashDetector(launch, p)).start();
IProcess process = null;
// add process type to process attributes
Map<String, String> processAttributes = new HashMap<String, String>();