I need help to get this to work!
I'm trying to write a frontend for fst (a possibility to load vst-plugins for jack).
There are severel problems I ran into.
1. If I use the (somewhere else found) form of starting a bash-process
$bash=Exec ["bash","--noediting"] for read write as "BASH"
I dont get any read events
So I tryed
$bash=Exec ["bash"] for Input Output as "BASH"
which seems to work.
2. In the BASH_read event I check if the "$ " is shown, if so I write a command to BASH like
Print #$bash, "fst /home/erich/Musik/VST/FST_Gui/BLOCKFISH_3.dll" & gb.newline;
It sometimes works, but sometimes I get Errors like:
can't load plugin /home/erich/Musik/VST/FST_Gui/BLOCKFISH_3.d
or
fst is cut to st so bash doesnt recognise the command. (just now I cant reproduce this Error, so I cant post it properly)
3. As I start multiple plugins and want to embed them I also want to be able to end them.
If I write:
Print #$bash,"^C" & gb.newline;
nothing happens
If I do a Try $bash.Close afterwards all Plugins close when im closing the last process, but until then all are alive.
Please help