Hi !

I would like to know if it is possible to execute a julia program just by 
clicking on the program name on GNU/Linux (of course after a chmod +x 
program.jl).

I manage to do that in bash using
#!/usr/bin/bash



or in Perl
#!/usr/bin/perl



but in Julia I try to insert the lines :
#!/usr/bin/julia
or
#!/usr/bin//env julia



and it does not work. Of course I can make a batch scipt like :

#!/usr/bin/bash
julia test.jl


but it would be better to do that directly.

Thanks in advance and happy new year !

#!/usr/bin/julia

println("hello")

readline()



Reply via email to