Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing shell scripts

Status
Not open for further replies.

southbeach

Programmer
Jan 22, 2008
879
US
I am working on a legacy application and PHP project. Running on SCO UNIX ...

I have worked on other systems under the same environment but this time, I am having a problem executing shell scripts. I use system() to execute the script. The script can be something like:

/usr/local/bin/script_name

If I run the script from the CLI or command prompt, all works well. I checked permissions and ownership and it looks good.

chmod 755 and chown root:group

What do you think I may be missing?


--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top