Menu

#66 Cannot run jline in background on Unix terminals

open
nobody
5
2010-10-29
2010-10-29
Anonymous
No

jline is used to implement a command line console that can be scripted when the input is redirected from a file (console < input.txt). However, the manipulations of stty made by the UnixTerminal implementation prevents the job from running in background (console < input.txt & will block until the job is back in foreground). Even trying to 'nohup' the command fails to run in background.

The only workaround right now is to force the use of UnsupportedTerminal when running a job in background. A better fix would be to find out what stty manipulations are preventing the background execution.

Discussion


Log in to post a comment.