[Chicago-talk] launching a terminal?

Mike Raffety MikeRaffety at earthlink.net
Fri Mar 5 05:16:20 PST 2010


Try this instead:

system("gnome-terminal -x 'perl print_list.pl'")

http://www.fifi.org/doc/gnome-terminal/html/gnome-terminal/C/options.html

Richard Reina wrote, On 3/5/2010 7:08 AM:
> I trying to figure out a way that a for a for a program to launch a terminal with system("gnome-terminal") and have that terminal intern launch another program as soon as it's launched. I've tried perl -e 'system(gnome-terminal; perl print_list.pl");' but the program is not running when the terminal opens.
> 
> Any help would be very much appreciated.
> 
> Thanks,
> 
> Richard
> _______________________________________________
> Chicago-talk mailing list
> Chicago-talk at pm.org
> http://mail.pm.org/mailman/listinfo/chicago-talk
> 
> 


More information about the Chicago-talk mailing list