You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
passing command line arguments to lsc executable still not working? #1013
my apologies if i am being stupid, but i can not manage to pass arguments to a #!/usr/bin/env lsc executable on the command line, as lsc attempts to read them as additional input files
my expected behavior was for any arguments after the input file to be passed onto the script and available with process.argv
i have tried with -- as suggested in #610, and i have been reading similar issues (#569, #587, #589, etc) to find a solution to no avail
The code you pasted doesn't compile with lsc 1.5.0 (try it on http://livescript.net/). Either that's not literally the code you've been trying to run, or maybe you have a rather old lsc hanging around somewhere?
Well, since you're already hanging out on the bleeding edge, you can take the fix/LiveScript-1013 branch of my fork for a spin and see if that works for you. My usual approach is to wait around a week for community feedback before merging most changes to master here, so if you're impatient for a fix, that's the thing to do.
Right here on GitHub, for the most part. I'm not generally on IRC unless I'm asked to be, but some people hang out in a #livescript channel on Freenode as well.
Activity
rhendric commentedon Mar 6, 2018
Would you please share:
node --version)lsc --version)rhendric commentedon Mar 6, 2018
The code you pasted doesn't compile with lsc 1.5.0 (try it on http://livescript.net/). Either that's not literally the code you've been trying to run, or maybe you have a rather old lsc hanging around somewhere?
rhendric commentedon Mar 6, 2018
I'm not sure what's going wrong for you. Here's me running that same code in a fresh Docker container with Node 9.4 and LiveScript 1.5:
rhendric commentedon Mar 6, 2018
Ahhh, you're running LiveScript from master, not the published version? I can reproduce the issue on master.
If running published 1.5.0 is an option for you, I would recommend that as a workaround until I get this sorted out.
rhendric commentedon Mar 6, 2018
Well, since you're already hanging out on the bleeding edge, you can take the
fix/LiveScript-1013branch of my fork for a spin and see if that works for you. My usual approach is to wait around a week for community feedback before merging most changes to master here, so if you're impatient for a fix, that's the thing to do.rhendric commentedon Mar 6, 2018
Right here on GitHub, for the most part. I'm not generally on IRC unless I'm asked to be, but some people hang out in a #livescript channel on Freenode as well.