Bash: infinite sleep (infinite blocking)

前端 未结 11 593
日久生厌
日久生厌 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

    What about sending a SIGSTOP to itself?

    This should pause the process until SIGCONT is received. Which is in your case: never.

    kill -STOP "$$";
    # grace time for signal delivery
    sleep 60;
    

提交回复
热议问题