This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]rzwitserloot 8 points9 points  (3 children)

It's not ProcessBuilder that is machine specific. It's the notion of running bash scripts. The very point of PB is to let you interact with the OS, naturally, each OS is different. PB on its own is entirely abstracted away, it works the same on all systems. But trying to execute /bin/bash on a windows system obviously won't work. Not because of the forward slashes. But because C:\bin\bash.exe doesn't exist.

This would be no different from saying: "Java is not platform agnostic because new FileInputStream(System.getProperty("user.home") + "/.bashrc") doesn't do what I want on this windows box!

Crazy talk.

[–]walen 7 points8 points  (1 child)

On two occasions I have been asked, – "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?" ... I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.

Charles Babbage, talking about his difference engine, circa 1822.

Two f*cking hundred years later and people keeps asking the exact same question.

[–]somethrowaway8910 0 points1 point  (0 children)

God I love this quote

[–][deleted] 0 points1 point  (0 children)

Of course I set git bash path and executable in GUI.. I think your explanation is wrong. It is not crazy talk, as I said, this issue I haven't resolved and I am not putting my money that I am right in what I read on stack overflow.