0

I am trying to run the following command (lxterm is alias to lxterminal) lxterm -e "node test.js" its OK, but when test terminates the new terminal closes instantly. Cant I make it stay until I close it? Another question : can I do that in xterm? I was typing xterm >&1 node and a new xterm with > opens but I can`t pass the .js files to node...

1 Answer 1

0

Ive found what I needed. Its not exactly an answer to my question but it works for my desires:

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

which actually opens the node interpret into gvim buffer, which is way better since I can save the output for benchmarks if needed.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.