Tagged Questions
1
vote
2answers
175 views
multiple background processes in a script
Suppose if i have a situation in which some files need to be copied and it takes long time so
i would have to go for parallel processing of the file copy.
for example it may look like this
for i in ...
4
votes
1answer
74 views
How can I synchronize processes started in different TMUX panes?
Consider this:
tmux split-window -d program1
program2 # this program depends on some side effects produced by program1
In this case, program2 will start before program1 is ready. program1 will send ...
4
votes
1answer
134 views
Discard stdout of a command for t seconds
I am working on some batch scripts involving the following:
Run some non-terminating sub-processes (asynchronously)
Wait for t seconds
Perform other task X for some time
Terminate subprocesses
...