-
Notifications
You must be signed in to change notification settings - Fork 40
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
Internal failure executing runner: fork/exec /bin/zsh: no such file or directory - Trying to run runme in remote server #625
Comments
Confirmed seems like thats the problem.
|
I just realized I didn't read that close enough and its trying to run bash and python; let me try changing it and seeing if that fixes the problem. |
So I was mistaken about the problem. I changed the program to
That works successfully. Based on the docs https://pkg.go.dev/os/exec#Cmd. I think Path must be specified and must also be arg0. |
This version also runs. Proving zsh is installed
Gives output
|
@sourishkrout Can you point me at which Runner is likely invoked here? Is there anyway to get more verbose logs to see what's invoked? I tried adding |
Would you mind trying Runner v2 @jlewi? If you're going through the extension it's a matter of change the |
You can turn on |
I tried with RunnerV2 and it works.
|
That's great news! |
I'm trying to run the runme grpc server inside a GCP Cloud Workstation and connect to it from a locally running vscode. So vscode and the runme extension is running entirely locally.
When I try to execute I command I get the error.
I believe this error message is indicating that the RunMe golang server is trying to fork/exec /bin/zsh and can't find it. I think the problem might be exec is missing.
Server logs clearly indicate its receiving the request
It looks like RunMe uses the exec package
runme/internal/runner/go.go
Line 19 in 004c66d
So my hunch is that the exec is missing in my host system and therefore exec doesn't work.
I have no idea why that would be.
Don't know if this qualifies as a RunMe error. I'm going to try to confirm that's the case by trying to run the sample
https://github.com/stateful/runme/tree/004c66dc1eb498d0c829c47b29ee7841458a5338/examples/goexec
Related to #593
The text was updated successfully, but these errors were encountered: