Thread system und backticks (18 answers)
Opened by suresh at 2011-12-14 14:08

suresh
 2011-12-14 17:07
#154825 #154825
User since
2010-10-12
109 Artikel
BenutzerIn
[default_avatar]
Habe es jetzt entsprechend so angepasst:

Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
sub execute_cmd {
  my $cmd = shift;
  my $cmd_return;
  print "Details: $cmd\n";
  
  $cmd_return = `$cmd`;
  if ( $? == 0 or die "Error: $?" ) {
    return $cmd_return;
  }
}

View full thread system und backticks