-
Notifications
You must be signed in to change notification settings - Fork 87
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
Issue with new Daemon and Emacs start-process on Windows #1318
Comments
What's the latest version of
I'm curious what version of the daemon binary you're using - we've renamed it from "zowex" to "zowe" and made several breaking changes to it since then. Newer versions of the daemon binary are available here, but I'd recommend running the command |
Thanks for the answer @t1m0thyj! As for your questions:
For what is worth it seems to work just fine on Linux (tested on Ubuntu WSL2), which makes me suspect that it has something to do with #1309 and how the daemon process is handled on windows. I will continue to experiment and see what I find out! |
I discovered another problem with the new Zowe Daemon and Emacs on Windows. If you try to run But if you start the daemon beforehand, for example in cmd, it works just fine with |
This may be related to #1277 - the way that child processes behave on Windows, a parent process cannot terminate until all its child processes have also terminated. Because of this we have a Windows-only step in our CI pipeline that starts the daemon background process before running tests. Otherwise we experience similar behavior to what you described, where a Jest test that runs |
Thank you for creating a bug report. If you haven't already, please ensure you have provided steps to reproduce it and as much context as possible. |
Hello
I'm using Zowe CLI with Emacs for enhancing my development workflow when developing mainframe applications with Emacs.
I have been using the "--daemon" mode together with the "zowex" binary for a while and it has been working great. But now after upgrading to the latest Zowe@next version (7.0.0-next.202202112312) I have problem using Emacs async functions
start-process
andasync-shell-command
the new zowe binary for using the daemon mode.The problem is that I get no output from the command and process doesn't emit any events and just lives on doing (from Emacs point of view) nothing.
start-process is a Emacs function for starting an asynchronous process and is mainly used for running external programs without blocking Emacs.
Its synchronous counterpart call-process works perfactly fine, as does commands which uses the underlying shell for running the programs, such as
shell-command
.I know this is bit of nitche problem but I would love if you could look into it. Tell me if there is anything you need.
Zowe --version
= 7.0.0-next.202202112312Windows 10 20H2
GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32)
I have not tested if the same problems occur on Linux, but I'm going to try and see this weekend.
Edit: When using the regular binary,
AppData\Roaming\npm\zowe
, it works as normal.The text was updated successfully, but these errors were encountered: