Nikky
06/04/2021, 8:48 AMmingwX64
and it seems to work without issues via poweshell and cmd
but when executed in gitbash things seem to fall apart
i am getting
Uncaught Kotlin exception: okio.IOException: Permission denied
when calling filesystem.delete(command.reportFile.toPath())
and
Uncaught Kotlin exception: okio.FileNotFoundException: No such file or directory
when calling val write: BufferedSink = fileSystem.appendingSink(command.reportFile.toPath()).buffer()
command.reportFile
is /c/Users/nikky/dev/kotlin-cli-starter/git-standup-report.txt
the file exists and is writable:
ls -la /c/Users/nikky/dev/kotlin-cli-starter/git-standup-report.txt
-rw-r--r-- 1 nikky 197121 407 Jun 4 10:41 /c/Users/nikky/dev/kotlin-cli-starter/git-standup-report.txt
Nikky
06/04/2021, 8:52 AMjessewilson
06/05/2021, 1:31 PMjessewilson
06/05/2021, 1:32 PMNikky
06/05/2021, 6:02 PMNikky
06/10/2021, 11:36 AMuname
exists and anbume -a
returns MSYS2
, CYGWIN
, MINGW
or such and just treat it like a linux system
for executing commands eg. echgo %cd%
on cmd.exe but pwd
in gitbash or the like