how do I do a background task in Powershell?
$ ant >/dev/null & #cygwin
The closest I can get to this in Powershell is
ps2> start-job {ant |out-null; `a} #powershell
but then I don't get output in real-time, nor do I get the beep. I have to poll for it with receive-job and get the beep when stdout gets polled.
No comments:
Post a Comment