Thread
system() führt befehl nicht aus !?
(24 answers)
Opened by Gast at
2005-04-19 16:53
ptk
2005-04-21 16:16
User since
2003-11-28
3645 Artikel
ModeratorIn
[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 !?