org.netbeans.spi.extexecution.destroy
public interface ProcessDestroyPerformer
Implementation of this interface should be published in default lookup
in order to be used by
ExternalProcessSupport.destroy(java.lang.Process, java.util.Map)
and ExternalProcessBuilder
.
Note: not to be implemented by modules, might not be present in all versions
of the application.
Please use ExternalProcessSupport.destroy(java.lang.Process, java.util.Map)
for accessing the service.
void destroy(Process process, Map<String,String> env)
process
- process to killenv
- Map containing environment variable names and values.
Any process running with such envvar's value will be
terminated. Improves localization of child processes.Built on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.