Closed Bug 805790 Opened 12 years ago Closed 12 years ago

some util.command fixes

Categories

(Release Engineering :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rail, Assigned: rail)

Details

Attachments

(1 file)

* copy kwargs before modifying it
* use subprocess.list2cmdline instead of escape
* PEP8
Attachment #675535 - Flags: review?(bhearsum)
Comment on attachment 675535 [details] [diff] [review]
util.commands fixes

Review of attachment 675535 [details] [diff] [review]:
-----------------------------------------------------------------

list2cmdline isn't technically a public method, but docstring in http://svn.python.org/projects/python/trunk/Lib/subprocess.py makes it seem like it's pretty safe to rely on.
Attachment #675535 - Flags: review?(bhearsum) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: