shannah / shellmarks

GUI for shell scripts
37 stars 8 forks source link

Does not run on Windows #4

Open markcs opened 1 year ago

markcs commented 1 year ago

I'm trying to get this to run on Windows and it fails, I think because of the backslash on windows.

The file is located at c:\Users\Mark.shellmarks\scripts\testscript.bat

The error I get is /bin/bash: C:UsersMark.shellmarksscriptstestscript.bat: No such file or directory Note that I have WSL installed on my machine, so bash is actually run. The location of bash is #!c:\Windows\System32\bash.exe

I have tried running this under WSL as well, but there I get other issues (and likely another report).

Thanks!

markcs commented 1 year ago

I managed to get this to work in wsl, but I had to add the following in the function run

cmd += ' -Djdk.gtk.verbose=true -Djdk.gtk.version=3';