Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2141)

Unified Diff: vpython/run.go

Issue 2879493002: vpython: Print Python command when run. (Closed)
Patch Set: no need to check Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vpython/run.go
diff --git a/vpython/run.go b/vpython/run.go
index c8b703865996a83a6ece30c922ac20a491976c62..1862d859f7144b180af37f3da151c24512325ce9 100644
--- a/vpython/run.go
+++ b/vpython/run.go
@@ -95,6 +95,9 @@ func Run(c context.Context, opts Options) error {
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stderr
+ logging.Debugf(c, "Running Python command: %s\nWorkDir: %s\nEnv: %s", cmd.Args, cmd.Dir, cmd.Env)
+
+ // Output the Python command being executed.
if err := runAndForwardSignals(c, cmd, cancelFunc); err != nil {
return errors.Annotate(err).Reason("failed to execute bootstrapped Python").Err()
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698