in reply to calling sccs from cgi-bin script
Well, first, try printing out the command before you run it; that way you make sure you're running what you think you are.
Second, check errors (ie check $? to see if the command in backticks succeeded). You can look in your error log to see what error is being printed; probably that will be a big clue to what's going on. If you can't get to your logs, you'll want to capture the error output of the command; something like:
ought to do it.my $cmd = "(cd $my_DIR && $my_SCCS edit $my_tmp_file) 2>&1`;
Third, the most likely problems are your $PATH environment variables and permissions.
Good luck!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: calling sccs from cgi-bin script
by jfroebe (Parson) on Apr 23, 2004 at 22:14 UTC | |
by sgifford (Prior) on Apr 23, 2004 at 23:35 UTC | |
by jfroebe (Parson) on Apr 24, 2004 at 14:24 UTC | |
by sgifford (Prior) on Apr 24, 2004 at 21:05 UTC |