New command -named_pipe_loop
This commit is contained in:
@ -534,7 +534,7 @@ int Xorriso_count_args(struct XorrisO *xorriso, int argc, char **argv,
|
||||
""
|
||||
};
|
||||
static char arg3_commands[][40]= {
|
||||
"append_partition",
|
||||
"append_partition","named_pipe_loop",
|
||||
""
|
||||
};
|
||||
static char arg4_commands[][40]= {
|
||||
@ -741,7 +741,7 @@ int Xorriso_cmd_sorting_rank(struct XorrisO *xorriso,
|
||||
"dialog", "page", "use_readline", "reassure",
|
||||
|
||||
"* Support for frontend programs via stdin and stdout (3):",
|
||||
"launch_frontend",
|
||||
"launch_frontend", "named_pipe_loop",
|
||||
|
||||
"* Scripting, dialog and program control features (3):",
|
||||
"rollback_end", "end",
|
||||
@ -1460,6 +1460,12 @@ next_command:;
|
||||
} else if(strcmp(cmd,"mkdir")==0 || strcmp(cmd,"mkdiri")==0) {
|
||||
ret= Xorriso_option_mkdiri(xorriso, argc, argv, idx, 0);
|
||||
|
||||
} else if(strcmp(cmd,"named_pipe_loop")==0) {
|
||||
(*idx)+= 3;
|
||||
ret= Xorriso_option_named_pipe_loop(xorriso, arg1, arg2, arg3, 0);
|
||||
if(ret == 3)
|
||||
goto ex;
|
||||
|
||||
} else if(strcmp(cmd,"no_rc")==0) {
|
||||
ret= Xorriso_option_no_rc(xorriso, 0);
|
||||
|
||||
|
Reference in New Issue
Block a user