mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-23 17:56:29 +00:00
[stage]
This commit is contained in:
@@ -144,6 +144,12 @@ public class CommandBuilder {
|
||||
return this;
|
||||
}
|
||||
|
||||
public CommandBuilder add(int index, CommandBuilder sub) {
|
||||
elements.addAll(index, sub.elements);
|
||||
environmentVariables.putAll(sub.environmentVariables);
|
||||
return this;
|
||||
}
|
||||
|
||||
public CommandBuilder prepend(Element e) {
|
||||
elements.addFirst(e);
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user