CLI Automatic Test with Perl | ||
---|---|---|
<<< Previous | Next >>> |
Debugging disconnect process is no straight forward. Expects debugger does not work after disconnecting from the program, because debugger read from standard input which is closed after disconnecting from the process.
$obj->send("quit|exit|bye|\cC")
— Quiting from within the process.
$obj->soft_close()
— Waiting 15s for process to send EOF.
$obj->hard_close()
— Brute quiting, kill the spawned process.
<<< Previous | Home | Next >>> |
11. Log files | 13. CLI Automatic Test |