> Xiangli Zhang wrote:
>
> Aha, are you trying to open the vi editor? Then I don't think I'm able
> to help you; not sure if it's even possible to do that from a CGI script.
>
> > main page[m[m[0m[H[2J[24;1H"test.pl" [readonly] 6L,
> > 95C[1;1H#!/usr/bin/perl -w print "Content-Type: tex
Gunnar:
If vi editor cannot be called through perl cgi under web browser, what I can do if i want to call an application in my script. My case is "phrap"- a perl application, which can be used like phrap fasta1 at terminal to generate several text files.
Thanks a lot,
justinNote: forwarded m
Xiangli Zhang wrote:
Gunnar Hjalmarsson wrote:
system(" perl test1.pl");
This is a better way to run another Perl program:
eval "require 'test1.pl'" or die "Couldn't require test1.pl: $@";
system("phrap fasta1");
system("vi test.pl");
system("phrap fasta1") == 0 or die "'phrap fasta1' fail
Dear Gunnar:
Following your instruction, I ran my cgi under
internet browser Mozzilla and at terminal. However, it
output correctly for terminal(it automatically open vi
editor and open the file "test.pl), but some error
occurred for browser. The following is my result of
the browser.
Thanks a lo
Xiangli Zhang wrote:
I want to call an application in cgi file, the application runs
when i run the cgi file at terminal (which outputs several files),
but the application called is not executed in the web browser,
since no files are generated.
You should test if the commands were successful!
sys
Note: forwarded message attached.
__
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail --- Begin Message ---
I want to call an application in cgi file, the
application runs when i run the cgi fi
Note: forwarded message attached.
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.--- Begin Message ---
I want to call an application in cgi file, the
application runs when i run the cgi file at terminal
(which outputs several files), but the application
called is not executed in
I want to call an application in cgi file, the
application runs when i run the cgi file at terminal
(which outputs several files), but the application
called is not executed in the web browser, since no
files are generated.
Can anyone help me this issue?
The following is my code (the last three