Project

General

Profile

Bug #4326

External Executor actor puts out an extra token when nonzero return

Added by Tirath Ramdas almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
actors
Target version:
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 almost 10 years ago

Fixed.

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 4326

Also available in: Atom PDF