Redirect nohup's stderr to nohup.out

前端 未结 1 1854
孤独总比滥情好
孤独总比滥情好 2021-02-07 09:03

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 dis

1条回答
  •  死守一世寂寞
    2021-02-07 09:09

    Try this

    nohup 2>&1 Ex.exe &
    

    0 讨论(0)
提交回复
热议问题