This commit is contained in:
Joey Hess 2019-09-09 09:44:47 -04:00
parent 5197a222aa
commit 63e37b0beb
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 5 additions and 2 deletions

View file

@ -277,7 +277,7 @@ processHandle (_, _, _, pid) = pid
-- | Shows the command that a CreateProcess will run.
showCmd :: CreateProcess -> String
showCmd = go . cmdspec
showCmd p = go (cmdspec p) ++ " " ++ show (env p)
where
go (ShellCommand s) = s
go (RawCommand c ps) = c ++ " " ++ show ps