Script to run external commands hidden and capture their output without temporary files

If you want the method that uses a temporary file to capture the output, there's an example here:

(And a few more around the forum, but that's a self-contained one that's easy to experiment with.)

1 Like