Project

General

Profile

Actions

Bug #4326

closed

External Executor actor puts out an extra token when nonzero return

Added by Tirath Ramdas over 15 years ago. Updated about 15 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.

Actions #1

Updated by Daniel Crawl about 15 years ago

Fixed.

Actions #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 4326

Actions

Also available in: Atom PDF