aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2017-05-23 16:38:43 +0200
committerRickard Green <[email protected]>2017-05-23 17:46:04 +0200
commit385b18de6fd72672ed7d6736b30f56d6691d4433 (patch)
tree60c49b2226ed84b2a59611fd02f097df929f953a /erts/etc
parent68de330d763fb450a763a2d56e63dbe009e12703 (diff)
downloadotp-385b18de6fd72672ed7d6736b30f56d6691d4433.tar.gz
otp-385b18de6fd72672ed7d6736b30f56d6691d4433.tar.bz2
otp-385b18de6fd72672ed7d6736b30f56d6691d4433.zip
escript: Do not split path to Erlang system into multiple words
escript failed to start Erlang systems with spaces in the absolute path (when absolute path was used).
Diffstat (limited to 'erts/etc')
-rw-r--r--erts/etc/common/escript.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/etc/common/escript.c b/erts/etc/common/escript.c
index 80cc25b040..7f0af77a4c 100644
--- a/erts/etc/common/escript.c
+++ b/erts/etc/common/escript.c
@@ -526,7 +526,7 @@ main(int argc, char** argv)
* Push initial arguments.
*/
- push_words(emulator);
+ PUSH(emulator);
free_env_val(env);
PUSH("+B");