I have a problem with rlwrap (see the man page here). Consider this situation: empty.tcl
is an empty file. At bash this line
tclsh empty.tcl &
runs the job in the background and exits it, so i get this prompt
[1]+ Done tclsh empty.tcl
.
While this line
rlwrap tclsh empty.tcl &
runs the job in the background and doesn't exit it, so i get this prompt
[1]+ Stopped rlwrap tclsh empty.tcl
.
The corresponding job hangs at the background. My question is how to make it exit the job rather then hang?
rlwrap is a Linux utility command which runs the specified command, intercepting user input in order to provide readline’s line editing, persistent history and completion. As it is mentioned there, the main property of rlwrap is you shouldn’t notice any difference between command and rlwrap command, however, as it is described above, this property doesn't hold.
Maybe one can suggest an alternative for rlwrap which functions as expected?