Peter Irbizon
2016-06-02 17:11:22 UTC
Hello, I have this bash_script.sh
#!/bin/bash
res=$(mkfifo /home/user/mplayer-control)
res=$(mplayer -slave -input file=/home/user/mplayer-control movie.mp4)
When I run it, mplayer starts. But I am not able to pause it from another
terminal with:
echo "pause" > /home/user/mplayer-control
What am I doing wrong?
#!/bin/bash
res=$(mkfifo /home/user/mplayer-control)
res=$(mplayer -slave -input file=/home/user/mplayer-control movie.mp4)
When I run it, mplayer starts. But I am not able to pause it from another
terminal with:
echo "pause" > /home/user/mplayer-control
What am I doing wrong?