com.intellij.execution.process.KillableProcessHandler Java Examples
The following examples show how to use
com.intellij.execution.process.KillableProcessHandler.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: FreeRunConfiguration.java From react-native-console with BSD 3-Clause "New" or "Revised" License | 6 votes |
@NotNull private ProcessHandler createProcessHandler(GeneralCommandLine commandLine) throws ExecutionException { return new KillableProcessHandler(commandLine) { @NotNull @Override protected BaseOutputReader.Options readerOptions() { return new BaseOutputReader.Options() { @Override public BaseDataReader.SleepingPolicy policy() { return BaseDataReader.SleepingPolicy.BLOCKING; } @Override public boolean splitToLines() { return false; } @Override public boolean withSeparators() { return true; } }; } }; }