Interface ProcessWrapper

  • All Known Implementing Classes:
    ProcessWrapperImpl

    @ScannerSide
    @SonarLintSide(lifespan="MULTIPLE_ANALYSES")
    public interface ProcessWrapper
    This interface provides thin wrapper around Java ProcessBuilder and related APIs. The goal is to make them testable across different OS flavors. It also handles the issue of consuming stdout and stderr of started process in an asynchronous way using a daemon thread