Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft BashOnWindows not working #75

Open
laggingreflex opened this issue Aug 31, 2016 · 1 comment
Open

Microsoft BashOnWindows not working #75

laggingreflex opened this issue Aug 31, 2016 · 1 comment

Comments

@laggingreflex
Copy link
Contributor

I want to use Microsoft/BashOnWindows but it's not working. I'm using this setting:

"surround_cmd": ["bash -lic '", "'"],

and it gives the error:

E[NULL]r[NULL]r[NULL]o[NULL]r: 0[NULL]x[NULL]8[NULL]0[NULL]0[NULL]7[NULL]0[NULL]0[NULL]5[NULL]7
[Finished in 0.2s with exit code 4294967295]

(It's very similar to the error I'm getting with GitSavvy also when trying to use the same bash for its git The root cause is definitely something common here but I can't pin point exactly what.)

Could this be related to sublime text's build system? This gives the same error:

self.window.run_command("exec", {'cmd': 'bash'})

I know there's probably nothing wrong with bash.exe or its path because this works:

import subprocess; subprocess.call('bash')

Any ideas what might be the issue? Has anyone been able to get BashOnWindows to work with Shell-Turtlestein or any other similar sublime plugin?

@misfo
Copy link
Owner

misfo commented Sep 1, 2016

The plugin uses Sublime's build system under the hood, so if you're seeing
the same issue with the build system it's probably best to report it as an
issue in Sublime.
On Wed, Aug 31, 2016 at 8:44 AM laggingreflex [email protected]
wrote:

I want to use Microsoft/BashOnWindows
https://github.com/Microsoft/BashOnWindows but it's not working. I'm
using this setting:

"surround_cmd": ["bash -lic '", "'"],

and it gives the error:

E[NULL]r[NULL]r[NULL]o[NULL]r: 0[NULL]x[NULL]8[NULL]0[NULL]0[NULL]7[NULL]0[NULL]0[NULL]5[NULL]7
[Finished in 0.2s with exit code 4294967295]

(It's very similar to the error I'm getting with GitSavvy also when
trying to use the same bash for its git
timbrel/GitSavvy#493 The root cause is
definitely something common here but I can't pin point exactly what.)

Could this be related to sublime text's build system? This gives the same
error:

self.window.run_command("exec", {'cmd': 'bash'})

I know there's probably nothing wrong with bash.exe or its path because
this works:

import subprocess; subprocess.call('bash')

Any ideas what might be the issue? Has anyone been able to get
BashOnWindows to work with Shell-Turtlestein or any other similar sublime
plugin?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#75, or mute the thread
https://github.com/notifications/unsubscribe-auth/AACfVzP16c3ccu9V74afqUzuQ1XQSvRQks5qlYVKgaJpZM4JxoJR
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants