in reply to CGI from another script
that is a valid way to call a cgi script from the command line so we'd need to see "some_script.cgi" to be able to tell why it's not working.
On another note, are you calling this second cgi script with backticks? I've never seen this as a good idea - everytime it's either needed changed into a module, called with a form, or ran using a redirect. So if you could give your reason for using backticks maybe we could find a better solution.
"Cogito cogito ergo cogito sum - I think that I think, therefore I think that I am." Ambrose Bierce