[erlang-questions] launch .exe files on Windows via Erlang

MapAndFold <>
Tue Mar 1 04:16:28 CET 2011


Hi,

For example, os:cmd("werl.exe -detached").

Take care when you are executing an exe with full file name. It's
painful if my memory is correct and I have changed working dir with
file:set_cwd/1 before execution.

On Tue, Mar 1, 2011 at 8:03 AM, Slav Pankratov <> wrote:
> Hello!
>
> Excuse me for probably an extremely lame question:
>
> how can I execute .exe file on windows with certain command line flag via
> Erlang?
>
> thanks,
> Slav
>

-- 
Best Regards,
Zhengji


More information about the erlang-questions mailing list