You need to send some data to another process. For this purpose we created a function called send_data_to_channel, but to make it work in the same process with the reader, you need to call this function as a background process.
Foreground and background jobs
Run task in the background
Report a typo
Sample Input 1:
Sample Output 1:
OkWrite a program in Shell
#!/usr/bin/env bash
function solve() {
# add your solution here
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.