Questions tagged «lxterminal»

3
bash进程的PID未被$捕获!
虽然脚本的这一部分可以正常工作: geany & pid=$! ... kill -KILL $pid 相反,事实并非如此。 lxterminal & pid=$! ... kill -KILL $pid 看起来bash进程仍在后台,但未由标识$pid。如何获取终端窗口的PID,以便以后可以终止该进程? 注意:我也尝试用它的名字杀死它,但是该--title选项引起了与的某种冲突PROMPT_COMMAND。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.