Hi,
Thanks Brett for your reply but if i run my script under unix shell as 
" perl  my-script-file" it works well .
If i call my script online through apache server it does not perform my
C-file well. Why? The apache cgi director is set already.

Thankx




On Fri, 12 Oct 2001, Qi zhang wrote:
 
> I am using bash but my C file is under C-shell. How could I change the
> bash to shell by perl script file?
>   system ('csh');
>   system ('./my-file');
>   system ('exit'); does above list work?
 
It shouldn't matter, if your C-shell script has a proper shebang line,
like
 
#!/usr/bin/csh
 
This will invoke the proper shell interpreter for your script.
 
-- Brett
                                          http://www.chapelperilous.net/
------------------------------------------------------------------------
QOTD:
        "I used to go to UCLA, but then my Dad got a job."            


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to