Hi
How do I open a xterm from perl script and run a cmd, leaving the xterm for interactive work by a user?
Tried solutions: 1. system call: system("$xt -e '$Setup' &") ; #Didnt work, the xterm closes ($xt = /usr/bin/xterm)
2. my $pid = open2(*Reader, *Writer, "$xt"); print Writer "$Setup\n"; #Didnt work, the $Setup cmd was not executed in the new shell, my guess, it's because it's a new shell.
Any other ideas?
In reply to Running CMD in perl invoked xterm by Ohad
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |