[NinjaBuildCommand] Factor out logic to complete a task.
[NinjaBuildCommand] Factor out logic to complete a task.
apple/swift-llbuild,apple/swift-llbuild,apple/swift-llbuild,apple/swift-llbuild,apple/swift-llbuild,apple/swift-llbuild,apple/swift-llbuild