Thread Rueckgabewert (22 answers)
Opened by stift at 2005-08-05 12:44

esskar
 2005-08-05 13:22
#56969 #56969
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
lass dir mal diese infos ausgeben

Code: (dl )
1
2
3
4
5
6
7
8
9
10
if ($? == -1) {
print "failed to execute: $!\n";
}
elsif ($? & 127) {
printf "child died with signal %d, %s coredump\n",
($? & 127), ($? & 128) ? 'with' : 'without';
}
else {
printf "child exited with value %d\n", $? >> 8;
}

View full thread Rueckgabewert