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

LP backend should not use system #9

Open
dra27 opened this issue May 22, 2018 · 0 comments
Open

LP backend should not use system #9

dra27 opened this issue May 22, 2018 · 0 comments

Comments

@dra27
Copy link
Member

dra27 commented May 22, 2018

The use of the system call to invoke the external LP solver in the LP backend exposes the command to shell escaping madness (especially on Windows, where the implementation in #7 correctly reads TMP/TEMP).

Having eliminated the use of cat and tee in #8, it should be possibly to invoke the executable directly using posix_spawn (or equivalent), thus mediating the nightmare of shell escaping.

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

1 participant