[erlang-questions] Strange behavior for os:cmd()

Jachym Holecek <>
Sun Mar 7 22:07:05 CET 2010


# Sergey Yelin 2010-03-07:
> 4> os:cmd("c:/Program Files (x86)/TortoiseHg/hg.exe").

Careful about quoting here: I guess win32 shell tries to execute
file "c:/Program" with two arguments and fails silently (this is
a matter of shell programming, not really related to Erlang).

Regards,
	-- Jachym


More information about the erlang-questions mailing list