summaryrefslogtreecommitdiff
path: root/src/detach
diff options
context:
space:
mode:
authorDaniel C. Sobral <dcsobral@gmail.com>2011-09-14 18:45:48 -0300
committerDaniel C. Sobral <dcsobral@gmail.com>2011-12-01 17:40:45 -0200
commit8b8ed9980b9f35a16cd55744937e67cff02ea6f1 (patch)
treeb2c4bbdad800eeb17674bda719b1fff64a2a6521 /src/detach
parentfab4292f0424a7a49c3027e58d88e7d157e2e515 (diff)
downloadscala-8b8ed9980b9f35a16cd55744937e67cff02ea6f1.tar.gz
scala-8b8ed9980b9f35a16cd55744937e67cff02ea6f1.tar.bz2
scala-8b8ed9980b9f35a16cd55744937e67cff02ea6f1.zip
Makes it possible to use env(1) to run scala scripts, by dropping
the requirement of a !# line when using it. This is how some other languages, such as ruby, are run. Typical usage: #!/usr/bin/env scala println("Hello, "+args(0)+"!") Contributed by: Daniel C. Sobral
Diffstat (limited to 'src/detach')
0 files changed, 0 insertions, 0 deletions