public class Exec extends Object
Constructor and Description |
---|
Exec(org.apache.maven.plugin.Mojo mojo)
Creates a new Exec instance for executing an external process from the given
mojo.
|
public Exec(org.apache.maven.plugin.Mojo mojo)
mojo
- Mojo executing external processpublic int run(List<String> command, List<String> output)
command
- List containing command and all argumentsoutput
- List in/out parameter to receive command outputCopyright © 2017 Apache Software Foundation. All Rights Reserved.