Another reason to use libraries is communication.
Would you prefer to receive a GitCommitResult in your code, or have to parse the stdout of the subprocess?
If you need complex communication with the other program, then it needs to provide rpc or some other form of inter-process communication.
A library avoids this issue.
Another reason to use libraries is communication. Would you prefer to receive a GitCommitResult in your code, or have to parse the stdout of the subprocess? If you need complex communication with the other program, then it needs to provide rpc or some other form of inter-process communication. A library avoids this issue.