Introduce parameter secretCommand to system()
ClosedPublic

Authored by vonreth on Jan 11 2020, 11:46 AM.

Details

Summary

If secretCommand == True, the command and env won't be logged, only the invoked app

Diff Detail

Repository
R138 Craft
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
vonreth requested review of this revision.Jan 11 2020, 11:46 AM
vonreth created this revision.
vonreth updated this revision to Diff 73264.Jan 11 2020, 11:50 AM

Don't print cmd on fail

cullmann accepted this revision.Jan 11 2020, 4:36 PM

Looks reasonable to avoid exposing e.g. sign keys.

This revision is now accepted and ready to land.Jan 11 2020, 4:36 PM
This revision was automatically updated to reflect the committed changes.