erlang-escript Questions
1
Solved
rebar is in the current directory.
$ls -l rebar
--rwxr-xr-x 1 *** wheel 90778 8 6 23:05 rebar*
$./rebar
escript: no such file or directory: './rebar'
$whereis escript
escript: /usr/local/bin/esc...
Witticism asked 8/9, 2012 at 3:38
1
Solved
When I try to set a relative code path in a escript with -pz like this
#!/usr/bin/env escript
%% -*- erlang -*-
%%! -pz ../dir-of-some-beams
The path is interpreted relative to the directory fro...
Stationery asked 1/7, 2011 at 8:24
1
© 2022 - 2024 — McMap. All rights reserved.