Piping is part of the shell I believe, so you can’t do it with arguments in that way.
If you make your shell the executable however, you should then be able to pass things as separate arguments. I would start with "/bin/sh” as the executable and arguments of "-c” “ls | ws -l” Or, you can write what you want to do in a .sh script file, and execute that. > On Apr 19, 2021, at 20:15, James McMahon <jsmcmah...@gmail.com> wrote: > > Good evening. I’d like to do a file count of ${directory}. I can use an > ExecuteStreamCommand processor with that as Command Arguments and ls as > Command Path. I’ll set Output Destination Attribute to be myFileCount, and > will drop Max Attribute Length to ten. That will be ample characters for my > counts, with plenty of margin. > > How though, do I incorporate the “| wc -l” (double quotes for clarity only, > not part of the command) in the processor configuration so that I get the > desired count, not the actual listing of files? I need this count to > RouteOnAttribute as a next step. > > Thanks very much for your help.