Created
          July 28, 2022 13:56 
        
      - 
      
- 
        Save mikeananev/f822d5876aad733dfda9e80780fd7f9b to your computer and use it in GitHub Desktop. 
    Example of using pipes between processes
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | (-> | |
| (process ["echo" (pr-str {:a 1 :b 2 :qwe "1234"})]) | |
| (process [cljstyle-program "pipe"] {:out :string}) | |
| deref | |
| :out) | |
| (-> (process ["echo" (pr-str {:a 1 :b 2 :qwe "1234"})]) | |
| (process ["cat"] {:out :string}) | |
| deref | |
| :out) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment