You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that it succeeds in running a program ./webapp located in ./inner dir on Linux, but fails on macOS. If you put "./inner/webapp" as a path on macOS, it launches it fine.
As I mentioned in that previous issue, I think this is an inherent difference in Mac vs Linux, though I could be mistaken. I'm worried about trying to fix this one, as it will silently change the behavior of programs on one of these two OSes. If we can do it with a flag, that would be better.
a5ob7r
added a commit
to a5ob7r/haskellorls
that referenced
this issue
Feb 17, 2021
`System.Process.createProcess` used in goldplate has a difference
between Linux and macOS about relative command path lookup
behavior with changing directory. This causes
`No such file or directory` when runs test using relative command
path. To resolve to this, uses only command name to specify a
command and deploys test command on PATH. Command lookup hebavior
on PATH is same between Linux and macOS.
haskell/process#171
Migrating from fpco/typed-process#31
Here's a script that works differently on macOS and Linux.
The problem is that it succeeds in running a program
./webapp
located in./inner
dir on Linux, but fails on macOS. If you put"./inner/webapp"
as a path on macOS, it launches it fine.Dir where you can reproduce this in full: https://github.com/k-bx/playground/tree/master/typed-process-issue-31
The text was updated successfully, but these errors were encountered: