In der Doku zu
IPC::Run steht:
QuoteIf pump() is called after all harnessed activities have completed, a "process ended prematurely" exception to be thrown. This allows for simple scripting of external applications without having to add lots of error handling code at each step of the script:
Danach ein Beispiel.
Bitte helft mir mal, das zu verstehen.
Soll ich nun die Methode
harness() anstatt, vor oder nach
start() verwenden?
Und wofür ist das genau da?
Was genau bedeutet der Satz "This allows for simple scripting of external applications without having to add lots of error handling code at each step of the script"?
Laut Google heißt das "Dies ermöglicht eine einfache Skriptsprache von externen Anwendungen ohne viel Code zur Fehlerbehandlung bei jedem Schritt des Skripts hinzufügen".
Kann mir das bitte jemand mit seinen Worten mal erläutern?
Ich steig da nicht hinter.
10 print "Hallo"
20 goto 10