http://www.perlmonks.org?node_id=1073775


in reply to Re: Simultaneous system calls...
in thread Simultaneous system calls...

Hi djerius, thanks for your response. I actually ended up figuring this out before reading your response, and the solution was to use disable-factory like you suggested. What ended up happening(at least what I think the problem was) was that gnome-terminal was the child process and fio was the grand child. My script was waiting for gnome-terminal to open, which happened immediately. I needed gnome-terminal since fio has an output that I need to monitor. I wanted to be able to watch the output while also still being able to access my script. I ended up using disable-factory which caused my commands to be completed sequentially, and I put everything into a subroutine so that I could still access my perl script while fio was running. Thanks for your help and suggestions.

Replies are listed 'Best First'.
Re^3: Simultaneous system calls...
by djerius (Beadle) on Feb 06, 2014 at 22:32 UTC
    Glad you got it figured out.

    If all else failed, the old-school alternative would be to run xterm or rxvt instead of gnome-terminal. Not as fancy looking, but no question about them hanging around.