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

Wormhole doesn't start up in supervisor mode on Windows #24

Closed
mbyczkowski opened this issue Oct 10, 2017 · 1 comment
Closed

Wormhole doesn't start up in supervisor mode on Windows #24

mbyczkowski opened this issue Oct 10, 2017 · 1 comment
Labels

Comments

@mbyczkowski
Copy link
Contributor

We have received a following bug report:

The fly.io's wormhole agent works in "Sidecar" mode, but "Supervisor" mode fails on Windows because it hard-codes "/bin/sh -c" rather than using "cmd.exe /C" on Windows.

Steps to reproduce:

  1. download https://s3.amazonaws.com/flyio-wormhole-builds/0.5.35/pkg/wormhole_windows_amd64.exe
  2. download https://github.com/WedgeServer/wedge/releases/download/v0.10.9-w/wedge_windows_amd64.exe (Wedge is a fork of Caddy web server)
  3. Run the following command:
    .\wormhole_windows_amd64.exe .\wedge_windows_amd64.exe -port 5000
    [Oct 4 11:26:27] INFO process: Starting program: /bin/sh
    [Oct 4 11:26:27] INFO process: Failed to start program: exec: "/bin/sh": file does not exist
    [Oct 4 11:26:27] FATAL wormhole: Error running program: exec: "/bin/sh": file does not exist
@mbyczkowski
Copy link
Contributor Author

fixed in #25

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

No branches or pull requests

1 participant