I have this line:
timeout -s SIGKILL 55s minicom -C $file.txt
It works fine when I run it directly from the terminal (even with the timeout) but when I run it from the bash script, it creates the files, but they're all empty.
I have this line:
timeout -s SIGKILL 55s minicom -C $file.txt
It works fine when I run it directly from the terminal (even with the timeout) but when I run it from the bash script, it creates the files, but they're all empty.