Skip to content

Commit

Permalink
fix formatting, add remaining issues section
Browse files Browse the repository at this point in the history
  • Loading branch information
smikes committed Jan 30, 2014
1 parent 81ff92f commit f48d166
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion doc/Minus-X-Switch-Proposal.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ a line starting with '#!' and containing 'node' (as in ruby and perl)
the process will cwd into this directory before (as in ruby and perl)

Script authors can control the arguments passed to node using a similar
syntax to that used by ruby and perl:
syntax to that used by ruby and perl.


#!/usr/bin/env bash
Expand Down Expand Up @@ -189,6 +189,13 @@ For example:

This proposal would allow a node script to serve as its own wrapper script.

# Remaining Issues

If this is accepted, then [cmd-shim](https://github.com/ForbesLindesay/cmd-shim) will
need to be updated to support the -x switch and #!node lines. A mechanism using
wrapper scripts is necessary on Windows in any case. I volunteer to do the
necessary work on cmd-shim.

# References

Shebang history and details
Expand Down

0 comments on commit f48d166

Please sign in to comment.