I use exec () to execute a command, either linux or windows.
How do you execute linux and windows command and register output without waiting?
I know for linux so as not to wait for an exit: command* > /dev/null 2>/dev/null &
And to output the log for linux: command* > /path/to/log.txt 2>/path/to/error.txt
How could you keep a log and install it in the background in one command? What do windows look like too?
source
share