$readfh = IO::Handle->new(); $writefh = IO::Handle->new(); my $pid = open2($readfh, $writefh, "$INTERP $GAMEDIR/$game"); print "$INTERP $GAMEDIR/$game"; print "started frotz: pid $pid\n";