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

Compatibiliy with Windows fixing the /bin/sh problem. #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Compatibiliy with Windows fixing the /bin/sh problem. #3

wants to merge 2 commits into from

Conversation

hudsonmendes
Copy link

@hudsonmendes hudsonmendes commented Nov 25, 2016

Earlier today I had this problem trying to run a gradle build from eclipse: it would not run startTestDocker because it attempted to create the process using /bin/sh -c, and that would work in my MINGW64, but fail in my Eclipse.

After I created the issue (#2), I did some investigation, fixed the problem and finally tested it in my own project. It works like a charm.

Using the gradle plugin framework, we now identify the OS (windows or not) and use that to predict if we use /bin/sh or cmd. Has been tested on a windows+eclipse machine and works.

I hope you enjoy this contrib.

… not) and use that to predict if we use /bin/sh or cmd. Has been tested on a windows+eclipse machine and works
@hudsonmendes hudsonmendes changed the title #1 compatibiliy with Windows fixing the /bin/sh problem. Compatibiliy with Windows fixing the /bin/sh problem. Nov 25, 2016
…herefore we are now conditionally deciding the delimiter
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

Successfully merging this pull request may close these issues.

1 participant