mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-19 18:39:35 +01:00
03fb901291
If the output from a code snippet is `0` without a newline, Perl treats this as a false value. When Guest::process_command() returns a false value, that signals to guest-server::serial_server() that it is the parent returning and so it will not send the result back to the host. However, `0\n` is a true value. Solution: always append a final newline to the guest output. |
||
---|---|---|
.. | ||
PBot |