http://bugzilla.wpkg.org/show_bug.cgi?id=222

--- Comment #1 from Stefan Pendl <pendl2mega...@yahoo.de>  ---
Code proposal for 1):

            if (count >= timeout) {
                return -1;
            }
        }

        return shellExec.exitCode;
    } catch (e) {
        // handle execution exception
        var message = "Command '" + shell.ExpandEnvironmentStrings(cmd) + "\"
was unsuccessful.\n" + e.description;
        if(isQuitOnError()) {
            throw new Error(message);
        } else {
            error(message);
            return -1;
        }
    } finally {
        if (shellExec.status == 0) {
            shellExec.Terminate;
        }
    }

---
Stefan

-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
-------------------------------------------------------------------------
wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

Reply via email to