/** * Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Eclipse Public License (EPL). * Please see the license.txt included with this distribution for details. * Any modifications to this file must keep this entire header intact. */ package org.python.pydev.debug.newconsole.env; import java.util.Map; import org.eclipse.debug.core.ILaunch; import org.eclipse.debug.core.model.IProcess; import org.eclipse.debug.core.model.IStreamsProxy; import org.eclipse.debug.core.model.RuntimeProcess; import org.python.pydev.debug.core.Constants; /** * This class defines a process that pydev will spawn for the console. */ public class PydevSpawnedInterpreterProcess extends RuntimeProcess { public PydevSpawnedInterpreterProcess(ILaunch launch, Process process, String name, Map attributes) { super(launch, process, name, attributes); this.setAttribute(IProcess.ATTR_PROCESS_TYPE, Constants.PROCESS_TYPE); } /** * PydevSpawnedInterpreterProcess handles the IO in a custom way, so we don't * use the streams proxy. */ @Override protected IStreamsProxy createStreamsProxy() { // do nothing return null; } }