candera / shadowspawn

A Windows utility that mounts a shadow copy of the disk at a drive letter and then spawns an arbitrary command.
MIT License
184 stars 55 forks source link

spawn console redirect #25

Open toutant opened 2 years ago

toutant commented 2 years ago

i have shadowspawn called using createProcess and have redirected console display so that it show in cef3 html gui .

if i run robocopy alone the display shows up as expected - with display updates of robocopy being seen on the screen.... if i run shadowspawn the display updates disappears - but robocopy still runs but no display is seen - any suggestions

so after some trial an error - there is an error in shadowspawn for log files with space. it works perfectly with robocopy /LOG:"c:\temp\name with spaces.log"

but does not work with shadowspawn if there is spaces in log file