Sorry if this is not the right forum to ask about Audacity scripting.
I successfully built Audacity code on Windows, including the mod-script-pipe.dll module.
Now, I am trying to run the pipe-test.pl script to get the screenshots saved to the $home.‘/pipetest’ directory but I am having an issue on line 105, when the code is trying to iterate the contents of the pipe to build an array to return.
…
while ($resp = <FROM_SRV>) {
…
The code just enters a endless while loop and I need to kill the perl process. Every time I try to run the script I get this error.
Audacity is always open before running the test.
Note that after killing the perl process, I need to re-open Audacity in order to run the script again (unless until line 105), otherwise I will get an error on line 46 as the program can’t open \.\pipe\ToSrvPipe.
Does this mean that Audacity is not “listening” to the pipes that are indeed created by the script and perhaps, the mod-scrpt-pipe.dll, despite being in \win\release\Modules is not working?
My environment is:
Windows 10
Perl installation from ActiveState
Build of Audacity 2.1.2
Any help will be appreciated.