Lxterm -e选项


0

我试图运行以下命令(lxterm是lxterminal的别名)lxterm -e“node test.js”它s OK, but when test terminates the new terminal closes instantly. Can让它保持不变直到我关闭它?另一个问题:我可以在xterm中这样做吗?我正在键入xterm>&1节点和一个新的xterm>打开但我不能将.js文件传递给节点...

Answers:


0

ve found what I needed. It不完全是我的问题的答案,但它符合我的愿望:

xterm -e "node somefile.js | gvim - "

实际上打开节点解释为gvim缓冲区,这是更好的方法,因为我可以根据需要保存基准测试的输出。

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.