I made two shell (.sh) script files, audio.sh
and video.sh
for my Pi CCTV project.
And I combined those two scripts:
sh -x video.sh & sh -x audio.sh &
I put the command above into a shell file and finally made the test.sh
file, which now lanuches the two shell files simultaneously.
However, I'm not satisfied that I should run the command: sudo ./test.sh
. I would like to make an executable file (double-click and launch) which can launch test.sh
.
There is a YouTube video demonstrating that it's possible to make an Apple script in Mac OS (linking the two files, compile and execute) and export it by an executable program (.app format). If the program is launched, the two shell scripts are launched together in two Terminal window(s), as you see in the video : https://www.youtube.com/watch?v=hkY4_qYWfqI
Is it possible to do such a thing like that in Ubuntu 16.04?
Making a program that executes the two shell scripts simultaneously?
Any ideas?