Thread [Bash] parameter problem
(15 answers)
Opened by lichtkind at 2013-04-01 19:42
In $? ist der Wert eines Exit.
Code (sh): (dl
)
gtpath=perl ~/code/perl/project/name/script.pl "$@"; retval=$?; in retval ist es dann drin. in gtpath ist das was das Perl-Programm nach STDOUT schreibt. Last edited: 2013-04-03 09:59:49 +0200 (CEST) |