Thread DOS-Fenster mit Perl öffnen
(9 answers)
Opened by giordano at 2012-10-20 21:46
Wenn auf die Rückgabe nicht gewartet werden soll, das DOS-Fenster des externen Prozesses trotzdem offen bleiben soll:
system(1, 'cmd', '/K', "e:&&cd /x/y/z&&pdflatex x.tex"); aus perlport: system(1, @args) spawns an external process and immediately returns its process designator Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it? -- Brian Kernighan: "The Elements of Programming Style"
|