I’ve got a command line tool, I’d like to wrap in a Xojo GUI. But it’s weird… It takes binary data from stdin, processes it and puts it in stdout.
My Xojo app creates the binary data in the format it expects and I can test this, but writing the data to disk and using “cat <pathToFile/> | <pathToTool/>” and it writes the processed data to stdout.
However I really want to avoid writing the data to disk first and then using cat to load it up. But I seem unable to get it to work.
shell.execute "<pathToTool/> <binaryData>"
makes the tool crash. Writing the data to the shell first and then calling the tool fails, so does launching the tool and then writing the data.