How do I run a command with nohup
so that both the stdout and stderr are saved to nohup.out
? By default only stdout is saved and stderr is discarded.
Try this
nohup 2>&1 Ex.exe &
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With