Introduce parameter secretCommand to system()
ClosedPublic

Authored by vonreth on Sat, Jan 11, 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.Sat, Jan 11, 11:46 AM
vonreth created this revision.
vonreth updated this revision to Diff 73264.Sat, Jan 11, 11:50 AM

Don't print cmd on fail

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

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

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