On 08/13/20 17:24, Kartik Ohri wrote:
> I have made the changes to the ProcessBuilder and am now trying to use it
> build pljava-so using it. I wanted to ask should the working directory for
> the process builder be hard coded as the project's target directory or left
> for the user to specify as an argument.
Hmm, that's a good question.
What if ... instead of script calling new ProcessBuilder(...) to obtain
an instance, we provide a method (with the same signature), that calls
the constructor and returns a ProcessBuilder with some common defaults
already configured?
Then the script can just change any bits it wants different from the
default.
Regards,
-Chap