jupyter lab - suppress console output

2020-04-16 02:12发布

I am running jupyter lab 4.4.0 on redhat 6. I am trying to start the lab in the background so that the app's output is not appearing in my console anymore.

$ jupyer lab & > /dev/null 2>&1

But the console still shows output from the jupyter app (e.g. the startup messages and any saving logs)

标签: linux jupyter
1条回答
Anthone
2楼-- · 2020-04-16 02:31

You should rewrite your command like this:

$ jupyer lab >/dev/null 2>&1 &

ANd also is wise to add nohup to avoid stop of app if you logout

$ nohup jupyer lab >/dev/null 2>&1 &
查看更多
登录 后发表回答