Thread system() führt befehl nicht aus !? (24 answers)
Opened by Gast at 2005-04-19 16:53

ptk
 2005-04-21 16:16
#4851 #4851
User since
2003-11-28
3645 Artikel
ModeratorIn
[default_avatar]
[quote=darkie23,21.04.2005, 11:39]
Code (perl): (dl )
my $result = qx(cd $path; pdflatex $filename);
[/quote]
Besser:
Code (perl): (dl )
my $result = qx(cd $path && pdflatex $filename);

Dann stirbt das Kommando schon, wenn "cd" fehlschlaegt.

View full thread system() führt befehl nicht aus !?