OK, I figured out what causes the problem. 

It seems that on linux it does not like the --color=yes 

Removed that and it works as expected. 

Cheers! 

joi, 19 mai 2016, 19:48:04 UTC+2, Adrian Salceanu a scris:
>
> Hi, 
>
> There seems to be a problem with executing .jl scripts on Ubuntu 16.04 x64 
>
> Take this simple program in exec_text.jl
>
> #!/usr/bin/env julia --color=yes
> println("all good!")
>
>
> On Mac OS: 
> $ ./exec_test.jl
> all good!
>
>
> On Ubuntu it just hangs
> $ ./exec_test.jl
>
> [=> never returns, does nothing]
>
> This works as expected: 
> $ julia exec_test.jl
> all good!
>
> But this is not an acceptable solution as I need to execute my program in 
> order to pass command line args to it. Otherwise julia would just gobble up 
> the command line args intended for my script. 
>
> Thanks,
> Adrian
>

Reply via email to