elcord icon indicating copy to clipboard operation
elcord copied to clipboard

Constantly disconnecting and reconnecting

Open egelja opened this issue 2 years ago • 8 comments

So, this is pretty much the same issue as #48.

However, I am not using Spacemacs, just regular Emacs 28.1 I also am on Windows with the .NET 6.0 SDK, so I have a C# compiler. Running Powershell -NoProfile -ExecutionPolicy Bypass ./stdpipe.ps1 works.

egelja avatar Jul 21 '22 16:07 egelja

If you run that powershell script inside emacs (e.g. in M-x term) does it work? Could be that emacs has a different PATH or something

Mstrodl avatar Jul 22 '22 12:07 Mstrodl

I had to use M-x eshell, but yes, it does work.

image

egelja avatar Aug 06 '22 16:08 egelja

Ok so I may have figured something out

The path to stdpipe.ps1 has spaces in it. Could that be causing the problem?

This is the error on Emacs 28.2 image

egelja avatar Jan 07 '23 20:01 egelja

Maybe... Try without? I'm really not sure though sorry, I'm not a windows person :( If you can find a workaround I can probably fix the underlying issue though!

Mstrodl avatar Jan 13 '23 00:01 Mstrodl

I can't really try without, my home dir has a space in it and I can't change it.

egelja avatar Jan 13 '23 05:01 egelja

Oh never mind fixed it

elcord.el.patch

This just adds ' quotes around the path, and then prefixes with & to run the string as a command.

egelja avatar Jan 13 '23 05:01 egelja

Hey, any update on this?

egelja avatar Jun 26 '23 23:06 egelja

If you submit it as a pull request I'd be happy to merge it

Mstrodl avatar Jun 27 '23 12:06 Mstrodl