Search Results

Search: Posts Made By: pkusumam
Forum: Programming 12-06-2001
14,871
Posted By pkusumam
calling Perl from C
Hi,

I am trying to execute a perl script from c program.
I tried using system command.

system("perl test.pl filename") ;

This perl program takes filename as input and prints a...
8,368
Posted By pkusumam
catching hungup
Hi,

I tried the statement :
read resp || exit 1

But it didn't catch the hungup signal.
Any more ideas please ?

Thanks,
kk.
8,368
Posted By pkusumam
read
Hi,

I tried code like this


echo " Enter user name :\c"
read resp

if (test $? -ne 0)
then
exit
fi

The above condition is not working if there is
a terminal hungup happens. ...
2,931
Posted By pkusumam
Terminal Hungup at the time of read
Hi,

There are two scripts. The second script is called from the first one. These will create two processes on unix. In the second script, there is a read statement in the while loop.

Under...
Showing results 1 to 4 of 4

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