Repository navigation
Conversation
Collaborator
|
I have no issues running kscript on windows. Neither using Cmder nor git-bash. So I still feel unsure about the PR |
Collaborator
|
The solution is now applied in similar form on kscript_4.1 branch. Closing this PR because of that. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 -ccommand. 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 -cis 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.