mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-08-13 13:01:02 +00:00
More shell improvements
This commit is contained in:
@@ -17,7 +17,6 @@ public interface CommandControl extends ProcessControl {
|
||||
|
||||
static enum TerminalExitMode {
|
||||
KEEP_OPEN,
|
||||
KEEP_OPEN_ON_FAILURE,
|
||||
CLOSE
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ import java.util.stream.Stream;
|
||||
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "type")
|
||||
public interface ShellDialect {
|
||||
|
||||
String argument(String s);
|
||||
String fileArgument(String s);
|
||||
|
||||
default String applyRcFileCommand() {
|
||||
return null;
|
||||
@@ -71,7 +71,7 @@ public interface ShellDialect {
|
||||
|
||||
String getMakeExecutableCommand(String file);
|
||||
|
||||
default String getSelfdeleteScriptEchoCommand(String s) {
|
||||
default String getSelfdeleteEchoScriptContent(String s) {
|
||||
return getEchoCommand(s, false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user