Sublime Forum

Subl.exe for windows yields WinError6 when using BuildSystem

#1

Hi,

I am using Windows 7 and I work with the command line A LOT.

I wrote a BuildSystem for my project.
I noticed that the BuildSystem works when I start SublimeText from the Windows shortcuts that lie around the desktop,
but the BuildSystem fails with a WinError6 “the handle is invalid” when I start SublimeText from the command line.

I analyzed the difference between those 2 use cases, and it boils down to sublime_text.exe vs subl.exe.
So I fixed my subl.bat so that it starts “sublime_text.exe” instead of “subl.exe”, and I have no issues with build systems.

I write this post in order to report this bug to the developers, since I found no other way to report bugs.
I hope to have this bug fixed so that I can start using the subl functionalities properly. =)

0 Likes