Hmm, if OP wants to have an interactive terminal that just executes some commands before dropping to the command line, something like this should work:
system('xterm', '-e', 'bash -rcfile /home/username/script.sh');
In reply to Re^2: perl scripting help
by cavac
in thread perl scripting help
by ejm20
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |