As you can see STDOUT child process in calling parent process in csh script

I am calling a csh script that the first thing it does is start a new group.

I need to be able to see the standard output from a child process that is executed after a fork. I also want the parent process to hang when the child process exits.

Here is script ( razor_from_cgwin.sh

).

(view)

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}:

      

I want it:

>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 for this problem, except that I need to start a new group to invoke it. I am calling script ( ./razor_from_cgwin.sh

) from ssh session from CYGWIN :)

0


source to share


2 answers


This seems odd - if it was a Unix system, there is no reason I can think of why you won't automatically see the output of the child process.



0


source


The problem has been resolved. The original problem was that I was looking for a subroutine in the script.



Now I am using "Documents Here". I can see the output in my calling console. So Alnitak was right.

0


source







All Articles