mirror of https://github.com/pulumi/pulumi.git
9903adf822
On Windows, when we launch the language host, it will end up with a ".exe" file extension at the end of os.Args[0]. This leads us to produce a garbage filename for the -exec script -- namely, pulumi-language-nodejs.exe-exec -- which, of course fails. We simply need to trim off the ".exe" bit before producing the script name. |
||
---|---|---|
.. | ||
main.go | ||
main_test.go |