Search Results

Search: Posts Made By: hresquivelo
6,192
Posted By hresquivelo
Many thanks for the reply. Yes, my first try was:...
Many thanks for the reply. Yes, my first try was:
while [ "$(ps c | grep 263)" ]; do sleep 1; done

But I would like to see a better solution, like the wait command. :)

Thank you!
6,192
Posted By hresquivelo
Thanks for the reply. In this case I have to work...
Thanks for the reply. In this case I have to work on two shells, since I'm running OpenSees and Matlab at the same time.

What I need is to emulate the "wait" command in order to perform my...
6,192
Posted By hresquivelo
Interacting with two BASH shells
Hi. I'm working with two BASH shells in order to perform two tasks. For simplicity, suppose that at Shell #1 I'm executing this program:
sleep 100
whose PID is 263. Meanwhile Shell #2 is waiting...
Forum: OS X (Apple) 08-08-2009
2,323
Posted By hresquivelo
Unix on a Mac OS X
Hi. I'm using a Mac computer to perform all my Unix operations. At the moment, I'm employing osascript to interact between windows and don't know whether the same is possible to do it on a BASH shell...
3,401
Posted By hresquivelo
Thanks a lot! Next time I will take into...
Thanks a lot!

Next time I will take into account the time to format my posts correctly.

You said:
Actually if you want, you might miss them, according to the "Bash Reference Manual" (February...
3,401
Posted By hresquivelo
Creating a command on a BASH shell
Hi all. Suppose I have the following function in an executable file named "HOLA":
------------------------
function hola { echo "Hola ${@}."; }
------------------------

In addition, suppose...
4,241
Posted By hresquivelo
Thanks you very much! Ok, I tried with the...
Thanks you very much!

Ok, I tried with the second one:
At shell #2... read < $pipe_file
At shell #1... cat output.out > $pipe_file

I know it works... but would like to know if this is what...
4,241
Posted By hresquivelo
Thanks a lot peterro! Definitely this is the best...
Thanks a lot peterro! Definitely this is the best and clear way to do it! But now I have another question... what to do if I don't want to display the file content on the shell?

Many thanks in...
4,241
Posted By hresquivelo
Sending an event from another bash shell
I have two BASH shells and would like to send data from one to the other. To achieve this, I have thought the following:
1) Shell #1 runs a script in order to create the file "output.out" with the...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 08:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy