From c2340699c7caea722dd43210cd8bca5fcea22a00 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 18 Apr 2010 17:20:06 -0500 Subject: stop using extra_argv directly, pass command to run to the run method --- bin/termcast | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/termcast b/bin/termcast index 0dd2e0b..b97c2dd 100644 --- a/bin/termcast +++ b/bin/termcast @@ -17,7 +17,10 @@ See L for documentation. =cut -App::Termcast->new_with_options->run; +my $tc = App::Termcast->new_with_options; +my @argv = @{ $tc->extra_argv }; +push @argv, ($ENV{SHELL} || '/bin/sh') if !@argv; +App::Termcast->new_with_options->run(@argv); =head1 AUTHOR -- cgit v1.2.3-54-g00ecf