Use the named pipe as follows.
$ mkfifopipe
$ catpipe
$ echo "text" > pipe << -- This is from another process.
text
I want to do this from SBCL.
The following moved.
* (run-program "/bin/ls"'("-a""/Users/user"):output T)
But it doesn't work.
* (run-program "/bin/echo"'("text"">"pipe"):output T)
I want to do this more.
$ echo$(catpipe)>pipe2
How should I write it?
lisp
If you want to redirect the output, you may want to specify the output destination in :output
.
*(run-program"/bin/echo"'("text"):output"pipe":if-output-exists:append)
617 Uncaught (inpromise) Error on Electron: An object could not be cloned
581 PHP ssh2_scp_send fails to send files as intended
578 Understanding How to Configure Google API Key
610 GDB gets version error when attempting to debug with the Presense SDK (IDE)
572 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
© 2024 OneMinuteCode. All rights reserved.