Skip to content

Capture ProcessBuilder process out/err #36

Open
@sansp00

Description

@sansp00

Is there a way to capture the IO from a process built by ProcessBuilder like the following ?

           tapSystemErrAndOut(() -> {
		final Process process = new ProcessBuilder(commandLine).inheritIO().start();
		process.waitFor();
	});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions