---
title: "Discussion on \"How To Do: subprocess in bashscript\" | Hashnode"
description: "Discussion on \"How To Do: subprocess in bashscript\". Running a co-process in the background can be achieved by using & operator or coproc command. the only difference is that coproc allows to read and send output to the process while & operator doesn't.\n(1) using coproc\nIn Linux coproc command is used ..."
url: "https://hashnode.com/posts/how-to-do-subprocess-in-bashscript/606f46f4d741af6659cf94bf"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How To Do: subprocess in bashscript](https://codeboard.hashnode.dev/how-to-do-subprocess-in-bashscript?utm_source=hashnode&utm_medium=feed)

Running a co-process in the background can be achieved by using & operator or coproc command. the only difference is that coproc allows to read and send output to the process while & operator doesn't. (1) using coproc In Linux coproc command is used ...

Apr 8, 2021 · 2 min read · codeboard.hashnode.dev  
Read the article

-   [#bash](https://hashnode.com/tag/bash)
-   [#linux](https://hashnode.com/tag/linux)

## Written by

[Prakash Choudhary](https://hashnode.com/@prakash326)

@prakash326

  
[View profile](https://hashnode.com/@prakash326)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
