Starting Your favorite editor from Erlang
Vlad Dumitrescu
vlad_dumitrescu@REDACTED
Thu Jul 31 09:54:24 CEST 2003
----- Original Message -----
From: "Per Bergqvist" <per@REDACTED>
> However I think there is a bug regarding long file names with
> spaces. Only if I use the short equivalent it works.
> os:cmd("c:/Program
> Files/XEmacs/XEmacs-21.4.11/i586-pc-win32/xemacs.exe"). %% NOT OK BUG
>
> os:cmd("c:\\Program
> Files\\XEmacs\\XEmacs-21.4.11\\i586-pc-win32\\xemacs.exe"). %% NOT OK
> BUG
You have to escape the white space too.
os:cmd("c:/Program\ Files/XEmacs/XEmacs-21.4.11/i586-pc-win32/xemacs.exe"). %%
OK
os:cmd("c:\\Program\ Files\\XEmacs\\XEmacs-21.4.11\\i586-pc-win32\\xemacs.exe").
%% OK
regards,
Vlad
More information about the erlang-questions
mailing list