Use erlexec to execute commands synchronously