Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
inferior-shell
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
qitab
inferior-shell
Commits
dfe960c4
Commit
dfe960c4
authored
11 years ago
by
Francois-Rene Rideau
Browse files
Options
Downloads
Patches
Plain Diff
Update README slightly with respect to INPUT, OUTPUT and ERROR-OUTPUT arguments.
parent
a24d3d7d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README
+7
-3
7 additions, 3 deletions
README
with
7 additions
and
3 deletions
README
+
7
−
3
View file @
dfe960c4
...
@@ -105,13 +105,17 @@ RUN CMD &KEY ON-ERROR TIME SHOW HOST OUTPUT
...
@@ -105,13 +105,17 @@ RUN CMD &KEY ON-ERROR TIME SHOW HOST OUTPUT
on which to run the command using ssh if
on which to run the command using ssh if
it's not an alias for localhost as recognized by CURRENT-HOST-NAME-P
it's not an alias for localhost as recognized by CURRENT-HOST-NAME-P
(be sure to have passphraseless login using ssh-agent).
(be sure to have passphraseless login using ssh-agent).
OUTPUT is one of
The INPUT, OUTPUT and ERROR-OUTPUT arguments are as for UIOP:RUN-PROGRAM.
NIL (default) for inheriting the parent process's stdout,
In particular, OUTPUT is as per UIOP:SLURP-OUTPUT-STREAM one of
NIL (default) for no output (redirect to /dev/null),
a stream for itself,
T for the current *standard-output*,
:INTERACTIVE for inheriting the parent process's stdout,
:LINES for returning one result per line,
:LINES for returning one result per line,
:STRING for returning the output as one big string,
:STRING for returning the output as one big string,
:STRING/STRIPPED is like :STRING
:STRING/STRIPPED is like :STRING
but strips any line-ending at the end of the results,
but strips any line-ending at the end of the results,
just like a shell's `cmd` or $(cmd) would
do,
just like a shell's `cmd` or $(cmd) would
, and
more options are accepted and you can define your own, as per
more options are accepted and you can define your own, as per
asdf-driver's slurp-input-stream protocol.
asdf-driver's slurp-input-stream protocol.
On Windows, RUN will not succeed for pipes, only for simple commands.
On Windows, RUN will not succeed for pipes, only for simple commands.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment