aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sasl/src/erlsrv.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2013-02-19 16:14:49 +0100
committerDan Gudmundsson <[email protected]>2013-05-20 13:35:44 +0200
commit46d99ecfdc8b5d1f6d35c415d020eca5cd6130e1 (patch)
tree162987e1b0f52449926672f7533baed1c9612dac /lib/sasl/src/erlsrv.erl
parentb3152d85b1f0187d82270a607006494a04c98546 (diff)
downloadotp-46d99ecfdc8b5d1f6d35c415d020eca5cd6130e1.tar.gz
otp-46d99ecfdc8b5d1f6d35c415d020eca5cd6130e1.tar.bz2
otp-46d99ecfdc8b5d1f6d35c415d020eca5cd6130e1.zip
Quote windows paths with spaces
Diffstat (limited to 'lib/sasl/src/erlsrv.erl')
-rw-r--r--lib/sasl/src/erlsrv.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sasl/src/erlsrv.erl b/lib/sasl/src/erlsrv.erl
index 086dc7c651..67f6941479 100644
--- a/lib/sasl/src/erlsrv.erl
+++ b/lib/sasl/src/erlsrv.erl
@@ -30,7 +30,7 @@
erlsrv(EVer) ->
Root = code:root_dir(),
- filename:join([Root, "erts-" ++ EVer, "bin", "erlsrv.exe"]).
+ "\"" ++ filename:join([Root, "erts-" ++ EVer, "bin", "erlsrv.exe"]) ++ "\"".
current_version() ->
hd(string:tokens(erlang:system_info(version),"_ ")).