analysis
This commit is contained in:
parent
5197a222aa
commit
63e37b0beb
3 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue