diff options
author | Rickard Green <[email protected]> | 2017-05-23 16:38:43 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-05-23 17:46:04 +0200 |
commit | 385b18de6fd72672ed7d6736b30f56d6691d4433 (patch) | |
tree | 60c49b2226ed84b2a59611fd02f097df929f953a /erts | |
parent | 68de330d763fb450a763a2d56e63dbe009e12703 (diff) | |
download | otp-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')
-rw-r--r-- | erts/etc/common/escript.c | 2 |
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"); |