unless( @ARGV ){ # open new shell and restart program my $cmd = join ' ', q(cmd.exe /c start ), $^X,__FILE__, '1forargv'; +; system $cmd; exit; } ... $term->run();
In reply to Re: Create new command winow using Term::ShellUI
by Anonymous Monk
in thread Create new command winow using Term::ShellUI
by kranthi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |