Closed pmatysek closed 2 years ago
I have no issues running kscript on windows. Neither using Cmder nor git-bash. So I still feel unsure about the PR
The solution is now applied in similar form on kscript_4.1 branch. Closing this PR because of that.
Kotlin was in my PATH, bu I was getting error
[kscript] [ERROR] kotlinc is not in PATH
. So I've made some investigation and testing. As I figured out problem was withbash -c
command. For some reason it's not showing any output neither while running on my windows cmd nor from kscript. There wasn't any output even from simpleecho
. Fortunately I found that commandsh -c
is working perfectly. For that reason I wrote some piece of code which is choosing proper bash command for OS. However I'm not sure if problem is only in my enviroment (with git-bash instalation or some windows configuration?) or global for windows.