本文整理汇总了Java中com.intellij.execution.process.RunnerWinProcess类的典型用法代码示例。如果您正苦于以下问题:Java RunnerWinProcess类的具体用法?Java RunnerWinProcess怎么用?Java RunnerWinProcess使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
RunnerWinProcess类属于com.intellij.execution.process包,在下文中一共展示了RunnerWinProcess类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: convertToWinProcess
import com.intellij.execution.process.RunnerWinProcess; //导入依赖的package包/类
@NotNull
private WinProcess convertToWinProcess(@NotNull final Process process) {
// copied from com.intellij.execution.process.impl.OSProcessManagerImpl#createWinProcess
if (process instanceof RunnerWinProcess) {
return new WinProcess(((RunnerWinProcess)process).getOriginalProcess());
}
else {
return new WinProcess(process);
}
}
示例2: createWinProcess
import com.intellij.execution.process.RunnerWinProcess; //导入依赖的package包/类
@Nonnull
private static WinProcess createWinProcess(@Nonnull Process process) {
if (process instanceof RunnerWinProcess) {
RunnerWinProcess runnerWinProcess = (RunnerWinProcess) process;
return new WinProcess(runnerWinProcess.getOriginalProcess());
}
return new WinProcess(process);
}
示例3: createWinProcess
import com.intellij.execution.process.RunnerWinProcess; //导入依赖的package包/类
@SuppressWarnings("deprecation")
@NotNull
private static WinProcess createWinProcess(@NotNull Process process) {
if (process instanceof RunnerWinProcess) process = ((RunnerWinProcess)process).getOriginalProcess();
return new WinProcess(process);
}