chiark / gitweb /
Log environment and cwd as well as the actual command
authorKarl Hasselström <kha@treskal.com>
Mon, 14 Apr 2008 23:18:53 +0000 (01:18 +0200)
committerKarl Hasselström <kha@treskal.com>
Tue, 15 Apr 2008 20:00:29 +0000 (22:00 +0200)
commitfa2fa45e4ea2e767e1b678b4f303d0f64846df1a
tree38047237d4853df73e725ddfe9fe09b48a595135
parentf83d4b2ae9379d8c443036fcb56451f9396f63f4
Log environment and cwd as well as the actual command

When debugging subprocess calls (with STGIT_SUBPROCESS_LOG=debug),
it's important to know the environment and working directory we pass
to the subprocess, not just the command-line parameters.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/run.py