rem: if(!fileInst.isExecutable()) { 
add: if (!fileInst.isExecutable()) { 
context: spawn : function (aPath, aArgs) /* * Trys to execute the requested file as a separate *non-blocking* process. *  * Passes the supplied *array* of arguments on the command line if * the OS supports it. * */{  if(!aPath) {    jslibError(null, "(no path defined)", "NS_ERROR_INVALID_ARG", 		           JS_FILEUTILS_FILE+":spawn");    return null;  }  if(!this.exists(aPath)) {    jslibError(null, "(file doesn't exist)", "NS_ERROR_UNEXPECTED", 		           JS_FILEUTILS_FILE+":spawn");    return null;  }  var len=0;  if(aArgs)    len = aArgs.length;  else    aArgs=null;  var rv;  try {     var fileInst            = new JS_FILEUTILS_FilePath(aPath);    if(!fileInst.isExecutable()) {      jslibError(null, "(File is not executable)", "NS_ERROR_INVALID_ARG", 			           JS_FILEUTILS_FILE+":spawn");      return null;    }    if(fileInst.isDirectory()) {      jslibError(null, "(File is not a program)", "NS_ERROR_UNEXPECTED", 			           JS_FILEUTILS_FILE+":spawn");      return null;    } else {      // Create and execute the process...      /*       * NOTE: The first argument of the process instance's 'run' method       *       below specifies the blocking state (false = non-blocking).       *       The last argument, in theory, contains the process ID (PID)       *       on return if a variable is supplied--not sure how to implement       *       this with JavaScript though.       */      try {        var theProcess = C.classes[JS_FILEUTILS_PROCESS_CID].				                 createInstance(JS_FILEUTILS_I_PROCESS);                theProcess.init(fileInst);        rv = theProcess.run(false, aArgs, len);				jslib_debug("rv="+rv);      } catch (e) {        jslibError(e, "(problem spawing process)", "NS_ERROR_UNEXPECTED", 				           JS_FILEUTILS_FILE+":spawn");        rv=null;      }    }  } catch (e) {     jslibError(e, "(problem getting file instance)", "NS_ERROR_UNEXPECTED", 		           JS_FILEUTILS_FILE+":spawn");    rv=null;  }  return rv;},
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/ad31f8ed11639845cff55b2a989a1a6243a89a9b/fileUtils.js/buggy/calendar/resources/content/jslib/io/fileUtils.js