Bash: infinite sleep (infinite blocking)

前端 未结 11 591
日久生厌
日久生厌 2020-12-04 08:27

I use startx to start X which will evaluate my .xinitrc. In my .xinitrc I start my window manager using /usr/bin/mywm. No

11条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-04 08:46

    sleep infinity looks most elegant, but sometimes it doesn't work for some reason. In that case, you can try other blocking commands such as cat, read, tail -f /dev/null, grep a etc.

提交回复
热议问题