Re: [merd-devel] Scriptometer
Status: Pre-Alpha
Brought to you by:
pixel_
From: Pixel <pi...@ma...> - 2002-09-23 12:36:19
|
Yoann Padioleau <Yoa...@ir...> writes: > why you put ocaml as not shebang aware ???? > > you can a file test.ml with: > #!/usr/bin/env ocaml > print_string "cava\n"; ok, funny that calling /usr/bin/ocaml directly fails whereas "/usr/bin/ocamlrun ocaml" works... (the kernel doesn't like chaining scripts ;p) > in fact most program can be make shebang aware quite easily; even C > > just do a wrapper over gcc that compile and run, not that easily. You need a safe temporary space for storage, which is not always easy to achieve. |