LoginSignup
9
7

More than 5 years have passed since last update.

Node.js で shebang

Last updated at Posted at 2012-07-23
node.js
#!/usr/bin/env node

先頭行に普通に書いて、実行権限足せば実行可能になる。JavaScript 的には文法エラーだけど、先頭行が shebang の場合は見逃されるらしい。

9
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
9
7