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

Error: Spawning of process failed caused by choosenim using a wrapper process #125

Closed
timotheecour opened this issue Jul 12, 2019 · 2 comments

Comments

@timotheecour
Copy link
Contributor

choosenim is implemented by a binary that dispatches to the real nim binary; this causes some issues, for example see below.

I'm curious why isn't choosenim using symbolic links (at least on posix) which seems a simpler approach and avoids this kind of problem ?

# main.nim ($timn_D/tests/nim/all/t0496.nim)
import std/os
echo execShellCmd("pwd")
nim c -r main.nim
works
lldb -o run -- /pathto/Nim/nim c -r main.nim
works
choosenim /pathto/Nim/
which nim
/Users/timothee/.nimble//bin/nim

lldb -o run -- nim c -r main.nim
Error: Spawning of process failed. (Error was: Interrupted system call)

i'm on OSX

nim --version
Nim Compiler Version 0.20.99 [MacOSX: amd64]
Compiled at 2019-07-10
Copyright (c) 2006-2019 by Andreas Rumpf

git hash: cb3c3c306c6507a09c15da26828a39fbbd4dbc66
active boot switches: -d:release

but this bug has always been there

@dom96
Copy link
Owner

dom96 commented Jul 13, 2019

I assume you accidentally created two issues that are mostly the same? #126

@dom96 dom96 closed this as completed Jul 13, 2019
@timotheecour
Copy link
Contributor Author

some github bug, it's happened before to me, sorry I have no control over that

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

No branches or pull requests

2 participants