On Thu, 2020-04-09 at 16:00 -0400, Tim Thompson wrote:
proc:execute("echo", ("hello!", "> hello.txt"))
You could run, bash -c 'echo hello > hello.txt' instead, maybe?
This is assuming you are using Linux or the Linux subsystem on Windows, or cygwin, or OS X... so bash is available.