-
Notifications
You must be signed in to change notification settings - Fork 550
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
Fix Windows compiler invocation to not create new console windows #16
Comments
The original Python code was spawning the process with the Line 60 in e3f5fb2
the Rust code is also passing Line 145 in 5591191
I'll try removing that and see if it makes a difference. If not it might be some other difference in the Rust process spawning code vs. Python's subprocess. |
...that's not it. |
1 similar comment
...that's not it. |
Oh, hah! This bug existed in the Python implementation as well, and @glandium fixed it in this commit by passing |
@luser @alexcrichton I recently started using sccache, and am seeing a very similar issue (new console windows occasionally flickering with sccache). I know this one was fixed a long time ago, but I wonder if it was reintroduced again? |
Using |
Can you open a new issue on this? I think that'd be less confusing. |
235239a changed how we spawn the sccache server process on Windows to make it detached, but in the process it made it so that when the server spawns a compiler process it creates a new console window. This is noticeable if you run
cargo test test_sccache_command
on Windows, you'll see several console windows pop up.The text was updated successfully, but these errors were encountered: