Following shebang seems to work on Bash, Dash, Ksh, Zsh //usr/bin/env go run $0;exit $?; Did only a quick test for now using the `helloscript.go`
-
-
-
This is still limited to shell context only. You cannot directly execute this script from another program/script, unless you wrap it with a shell invocation. For example, try to execute it via python's http://subprocess.call method.
- 1 more reply
New conversation -
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Please stop. Go is not scripting language (exec is not scripting language also)pic.twitter.com/zzmKkbApzK
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.