On Oct 8, 2008, at 2:26 PM, Rudolf Sykora wrote:

Hello,

I'd expect

window -hide  rc -c 'label a_name; tail -f some_file'

would create a new hidden window (and so it does), run the tail command (and so it does) and set the name for the hidden window to a_name. The last thing seems to not happen (at least from the viewpoint of using the button-3 menu in rio --- I only see an empty field, i. e. without any name).
Can anyone tell me what's wrong?

Thanks
Ruda

rc -c only runs the commands given and then terminates. When all the processes given to window terminates, the window closes. That's what's happening to you. Try this:

window -hide 'label a_name; tail -f some_file; rc'


Reply via email to