I am calling a csh script that the first thing it does is starts a new group.
I need to be able to see the standard output from the child process that is executed after the fork. I also want the parent process to 'hang' unitl the child process is finished.
Here is the script (razor_from_cgwin.sh
).
(sort of)
newgrp name
source /stuff/morestuff/stuffiwant
razor -c thread -f Keil1403 -g lib . -o
chmod +x *
./rz_build*
> server{me}:./razor_from_cgwin.sh
> server{me}:
What I want is this:
>server{me}:./razor_from_cgwin
>(hang)
>any output from child forked process
>server{me}:
Razor is the CM I am using on the project I am working on.
It is not important to this problem except that i need to start a new group to call it.
I am calling the script (./razor_from_cgwin.sh
) from a ssh session from CYGWIN :)