Starting Your favorite editor from Erlang

Per Bergqvist per@REDACTED
Thu Jul 31 21:38:27 CEST 2003


Hi,

Yeah, you're right. Whitespace should be quoted as well.

Unfortunately this does not work for me on Windows XP.
The short form of the directory name without whitespace works.

Does it work for anybody with whitespace in directory names ???

/Per

-------------------
> ----- 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
> 
=========================================================
Per Bergqvist
Synapse Systems AB
Phone: +46 709 686 685
Email: per@REDACTED



More information about the erlang-questions mailing list