Investigate using named pipes for communication
Using a named pipe could make it more simple to communicate between an app frontend and a running warlock backend.
See: https://stackoverflow.com/questions/17954307/named-pipe-in-php-on-windows-mac-linux