Bug #4326
External Executor actor puts out an extra token when nonzero return
Start date:
08/21/2009
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
4326
Description
If you have a external execution actor with PN director, and the external execution actor calls a script, say...
#!/bin/sh
echo hello
exit 0
... then the output port will produce "hello" and the token count is 1. But if the exit code is non-zero, then the output port produces an additional (empty) token and the token count is 2. This results in downstream dataflow token matching havoc!
It seems the spurious token is only produced on the output port, the exitCode port is not affected.
This problem does not occur with SDF Director.
History
#1 Updated by Daniel Crawl over 11 years ago
Fixed.
#2 Updated by Redmine Admin almost 8 years ago
Original Bugzilla ID was 4326