Java Code Examples for com.intellij.util.io.BaseOutputReader#Options
The following examples show how to use
com.intellij.util.io.BaseOutputReader#Options .
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; } }; } }; }
Example 2
Source File: MostlySilentOsProcessHandler.java From flutter-intellij with BSD 3-Clause "New" or "Revised" License | 4 votes |
@NotNull @Override protected BaseOutputReader.Options readerOptions() { return BaseOutputReader.Options.forMostlySilentProcess(); }
Example 3
Source File: MostlySilentOsProcessHandler.java From flutter-intellij with BSD 3-Clause "New" or "Revised" License | 4 votes |
@NotNull @Override protected BaseOutputReader.Options readerOptions() { return BaseOutputReader.Options.forMostlySilentProcess(); }
Example 4
Source File: OSProcessHandler.java From consulo with Apache License 2.0 | 4 votes |
@Nonnull @Override protected BaseOutputReader.Options readerOptions() { return myHasPty ? BaseOutputReader.Options.BLOCKING : super.readerOptions(); // blocking read in case of PTY-based process }
Example 5
Source File: NativeFileWatcherImpl.java From consulo with Apache License 2.0 | 4 votes |
@Nonnull @Override protected BaseOutputReader.Options readerOptions() { return READER_OPTIONS; }
Example 6
Source File: KillableColoredProcessHandler.java From consulo with Apache License 2.0 | 4 votes |
@Nonnull @Override protected BaseOutputReader.Options readerOptions() { return BaseOutputReader.Options.forMostlySilentProcess(); }