process-output->string[procedure] process-output->string cmd&args &keyword error encoding conversion-buffer-size on-abnormal-exit[procedure] process-output->string-list cmd&args &keyword error encoding conversion-buffer-size on-abnormal-exitGauche: Available in gauche.process module. Runs a cmd&args in a separate process (if it is a string, it is passed to shell; if it is a list, it's used as argument array, and the process is directly sys-exec?ed.), and collects its output. process-output->string returns a single string; where all output lines are concatenated by a whitespace (like backtick escape in the shell). process-output->string-list returns a list of strings, each string is a output line, newline removed. error keyword arg specifies how to handle the error output. on-abmormal-exit keyword arg specifies how to behave if the process exits with non-zero status. It is built on top of run-process. | About This SiteHome Alphabetical Indexa b c d e f g h i j k l m n o p q r s t u v w x y z other ConceptsConcept:CaseSensitivity Concept:DocumentationFormat Concept:ExtendedLambdaList Concept:FileSystem Concept:FindAndAnyInCollection Concept:HashTable Concept:Module Concept:Networking Concept:ObjectSystem Concept:Process Concept:RegularExpression Concept:UserGroup Implementations
External Links |