Note that this workflow only works on Unix systems.
The get_temporary_directory beanshell returns the path to the directory in which temporary files are held. This value is passed to the args port of the execute_cmd_line_app service. The command port of that service has been defaulted to '/bin/ls'.
The execute_cmd_line_app service runs the /bin/ls command on the temporary directory. The result is passed to its result port and then to the out port of the workflow.
/bin/ls
net.sourceforge.taverna.scuflworkers.io.LocalCommand
File f = File.createTempFile("taverna", ".tmp");
directoryPath = f.getParent();
directoryPath