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

           Summary: log expanded command string
           Product: WPKG
           Version: 1.1.3-RCx
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: wpkg.js
        AssignedTo: man...@wpkg.org
        ReportedBy: pendl2mega...@yahoo.de
         QAContact: wpkg-users@lists.wpkg.org


In function "exec(cmd, timeout, workdir)" I suggest to expand the command line
when logged.

This enables spotting of wrongly set variables better.

Following changes are proposed:

1) dinfo("Executing command: " + shell.ExpandEnvironmentStrings(cmd));

2) var message = "Command '" + shell.ExpandEnvironmentStrings(cmd) + "\" was
unsuccessful.\n" + e.description;

May be introduce the variable cmdExpanded to only expand once.

---
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