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

Fix the 7-zip interop tests in the .Net 4.6 test build #453

Merged
merged 1 commit into from
Jun 19, 2020

Conversation

Numpsy
Copy link
Contributor

@Numpsy Numpsy commented Apr 21, 2020

I noticed that the 7-zip interop tests weren't running in the .Net 4.6 test run, with the error

"The Process object must have the UseShellExecute property set to false in order to redirect IO streams."

According to the Microsoft docs @ https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.processstartinfo.useshellexecute?view=netframework-4.8, UseShellExecute is false by default on .Net Core but true on .Net, so - may as well set if to false all the time ourselves.

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.

@Numpsy Numpsy added the tests label May 3, 2020
@piksel piksel merged commit c7a91b8 into icsharpcode:master Jun 19, 2020
@Numpsy Numpsy deleted the rw/tests/net46_7zip branch June 19, 2020 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants