Extended new command -named_pipe_loop by mode parameter
This commit is contained in:
@ -4110,19 +4110,25 @@ File: xorriso.info, Node: Frontend, Next: ExDevices, Prev: Scripting, Up: Co
|
||||
Print to the result channel a blank separated list of all severity
|
||||
names. Sorted from low to high severity.
|
||||
|
||||
-named_pipe_loop disk_path_stdin disk_path_stdout disk_path_stderr
|
||||
-named_pipe_loop mode[:mode] disk_path_stdin disk_path_stdout disk_path_stderr
|
||||
Temporarily replace standard input, standard output and standard
|
||||
error by named pipes. Enter dialog mode without readline. The
|
||||
three parameters must either be disk paths to existing named pipes,
|
||||
or be "-" to leave the according standard i/o channel unreplaced.
|
||||
error by named pipes. Enter dialog mode without readline.
|
||||
Defined modes are:
|
||||
"cleanup" removes the submitted pipe files when the loop ends.
|
||||
"keep" does not delete them. This is the default.
|
||||
"buffered" reads all lines from the input pipe until EOF before it
|
||||
opens the output pipes and processes the input lines.
|
||||
"direct" opens the output pipes after the first input line was
|
||||
read. Each line is executed directly after it is read. This is
|
||||
the default.
|
||||
The other three parameters must either be disk paths to existing
|
||||
named pipes, or be "-" to leave the according standard i/o channel
|
||||
unreplaced.
|
||||
xorriso will open the stdin pipe, read and execute dialog lines
|
||||
from it until the sender closes the pipe. Then xorriso will close
|
||||
its side of the pipes and enter a new cycle of opening, reading
|
||||
and executing.
|
||||
The output pipes will get opened after the first input line was
|
||||
read from a freshly opened pipe. This allows the sender to first
|
||||
send a very long line and to only then open an output pipe for
|
||||
reading the reply.
|
||||
from it until the sender closes the pipe. The output pipes get
|
||||
opened depending on mode "buffered" resp. "direct". After all
|
||||
lines are executed, xorriso will close its side of the pipes and
|
||||
enter a new cycle of opening, reading and executing.
|
||||
If an input line consists only of the word "end_named_pipe_loop"
|
||||
then -named_pipe_loop will end and further xorriso commands may be
|
||||
executed from other sources.
|
||||
@ -4872,7 +4878,7 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
|
||||
* -jigdo clears JTE or or adds parameter to JTE: Jigdo. (line 33)
|
||||
* -joliet enables production of Joliet tree: SetWrite. (line 10)
|
||||
* -launch_frontend starts frontend program at pipes: Frontend.
|
||||
(line 140)
|
||||
(line 146)
|
||||
* -list_arg_sorting prints sorting order of -x: ArgSort. (line 27)
|
||||
* -list_delimiter replaces '--': Scripting. (line 60)
|
||||
* -list_extras lists compile time extra features: Scripting.
|
||||
@ -4927,8 +4933,8 @@ File: xorriso.info, Node: CommandIdx, Next: ConceptIdx, Prev: Legal, Up: Top
|
||||
* -print_info prints message text line: Scripting. (line 113)
|
||||
* -print_mark prints synchronizing text line: Scripting. (line 116)
|
||||
* -print_size predicts image size: Inquiry. (line 91)
|
||||
* -prog sets program name: Frontend. (line 175)
|
||||
* -prog_help prints help text: Frontend. (line 178)
|
||||
* -prog sets program name: Frontend. (line 181)
|
||||
* -prog_help prints help text: Frontend. (line 184)
|
||||
* -prompt prompts for enter key: Scripting. (line 121)
|
||||
* -publisher sets publisher id: SetWrite. (line 186)
|
||||
* -pvd_info shows image id strings: Inquiry. (line 115)
|
||||
@ -5089,7 +5095,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
|
||||
* Filter, unregister, -unregister_filter: Filter. (line 48)
|
||||
* Filter, zisofs parameters, -zisofs: SetWrite. (line 272)
|
||||
* Frontend program, start at pipes, -launch_frontend: Frontend.
|
||||
(line 140)
|
||||
(line 146)
|
||||
* GPT, _definition: Extras. (line 38)
|
||||
* Group, global in ISO image, -gid: SetWrite. (line 268)
|
||||
* Group, in ISO image, -chgrp: Manip. (line 57)
|
||||
@ -5203,7 +5209,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
|
||||
* Program, end without writing, -rollback_end: Scripting. (line 170)
|
||||
* Program, list extra features, -list_extras: Scripting. (line 26)
|
||||
* Program, print help text, -help: Scripting. (line 20)
|
||||
* Program, print help text, -prog_help: Frontend. (line 178)
|
||||
* Program, print help text, -prog_help: Frontend. (line 184)
|
||||
* Program, print message text line, -print_info: Scripting. (line 113)
|
||||
* Program, print result text line, -print: Scripting. (line 110)
|
||||
* Program, print synchronizing text line, -print_mark: Scripting.
|
||||
@ -5211,7 +5217,7 @@ File: xorriso.info, Node: ConceptIdx, Prev: CommandIdx, Up: Top
|
||||
* Program, print version, -version: Scripting. (line 23)
|
||||
* Program, prompt for enter key, -prompt: Scripting. (line 121)
|
||||
* Program, replace --, -list_delimiter: Scripting. (line 60)
|
||||
* Program, set name, -prog: Frontend. (line 175)
|
||||
* Program, set name, -prog: Frontend. (line 181)
|
||||
* Program, show current settings, -status: Scripting. (line 47)
|
||||
* Program, status history, -status_history_max: Scripting. (line 56)
|
||||
* Program, wait a time span, -sleep: Scripting. (line 125)
|
||||
@ -5320,28 +5326,28 @@ Node: Restore178554
|
||||
Node: Emulation185641
|
||||
Node: Scripting195943
|
||||
Node: Frontend203714
|
||||
Node: Examples212994
|
||||
Node: ExDevices214172
|
||||
Node: ExCreate214831
|
||||
Node: ExDialog216116
|
||||
Node: ExGrowing217381
|
||||
Node: ExModifying218186
|
||||
Node: ExBootable218690
|
||||
Node: ExCharset219242
|
||||
Node: ExPseudo220063
|
||||
Node: ExCdrecord220961
|
||||
Node: ExMkisofs221278
|
||||
Node: ExGrowisofs222618
|
||||
Node: ExException223753
|
||||
Node: ExTime224207
|
||||
Node: ExIncBackup224666
|
||||
Node: ExRestore228646
|
||||
Node: ExRecovery229579
|
||||
Node: Files230149
|
||||
Node: Seealso231448
|
||||
Node: Bugreport232171
|
||||
Node: Legal232752
|
||||
Node: CommandIdx233763
|
||||
Node: ConceptIdx250279
|
||||
Node: Examples213321
|
||||
Node: ExDevices214499
|
||||
Node: ExCreate215158
|
||||
Node: ExDialog216443
|
||||
Node: ExGrowing217708
|
||||
Node: ExModifying218513
|
||||
Node: ExBootable219017
|
||||
Node: ExCharset219569
|
||||
Node: ExPseudo220390
|
||||
Node: ExCdrecord221288
|
||||
Node: ExMkisofs221605
|
||||
Node: ExGrowisofs222945
|
||||
Node: ExException224080
|
||||
Node: ExTime224534
|
||||
Node: ExIncBackup224993
|
||||
Node: ExRestore228973
|
||||
Node: ExRecovery229906
|
||||
Node: Files230476
|
||||
Node: Seealso231775
|
||||
Node: Bugreport232498
|
||||
Node: Legal233079
|
||||
Node: CommandIdx234090
|
||||
Node: ConceptIdx250606
|
||||
|
||||
End Tag Table
|
||||
|
Reference in New Issue
Block a user