ssr icon indicating copy to clipboard operation
ssr copied to clipboard

SSR Won't Run with a pipe/fifo for stdin

Open StuartRothrock opened this issue 2 years ago • 1 comments

Nice product. Thanks for the hard work. I use it often. If I run ssr on my mediaserver as in:

simplescreenrecorder --settingsfile=/home/user/settings.conf --no-systray --start-hidden --start-recording </tmp/fifo >/tmp/ssr.log 2>&1 &

Bit it dies without creating a log. If it worked, I could echo record-save and quit to the fifo for complete operations via ssh or other home automations. Thanks!

StuartRothrock avatar Mar 03 '22 00:03 StuartRothrock

SSR does work with a pipe as stdin, but you have to properly open the pipe for writing and keep it open while SSR is running. Really this is much easier to do in a language like python where you can easily use regular pipes, rather than with named pipes from bash.

MaartenBaert avatar Mar 08 '22 23:03 MaartenBaert