|
From: John R. <web...@te...> - 2009-01-10 02:51:52
|
Earnie Boyd wrote: > Quoting John Ratliff <web...@te...>: > > > >> Here's the command I tried: >> >> start /LOW oggenc2.exe -Q -b 96 -o audio.ogg audio.pcm >> >> > > Try: > > start //LOW oggenc2.exe -Q -b 96 -o audio.oog audio.pcm > > The /LOW is will be converted to a file specification unless you use > the double // notation where MSYS will remove one / before sending it > to the process. > > The /bin/start command is a script that executes ``cmd //c start "$@"'' > for convenience. You can even do ``start cmd'' to open a windows > console with the existing environment. Thanks everyone for your assistance. Using two slashes works. For some reason, it seems to ignore the environment, so I had to use full path to the binary. My new problem is that start doesn't wait for anything to finish, so my script continues before it's supposed to (or can). I tried adding //WAIT, but it didn't. I found an alternative. I read something in msdn that said process class is inherited. So if I set the priority of sh.exe to LOW, everything launched from it also starts in low priority. So glad I can (once more) be rid of cygwin. Thanks again, --John Ratliff |