捕获分叉子进程

捕获分叉子进程

我正在 wine 中运行一款游戏,需要 pasuspender 来杀死 pulseaudio,以便游戏可以在 alsa 上运行。

然而,看起来脚本和 wine 本身正在分叉单独的进程,因此 pasuspender 提前结束。

没有反应:

$ pasuspender -- sleep 10s
$

运行游戏时:

$ pasuspender -- wine dxhr.exe
Connection failure: Connection terminated
$

然后该进程继续在终端后台运行。

相关内容