Project

General

Profile

Actions

Bug #4326

closed

External Executor actor puts out an extra token when nonzero return

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

Fixed.

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 4326

Actions

Also available in: Atom PDF