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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

i can't execute a bloc of instructions

Status
Not open for further replies.

jmarwan

Technical User
Aug 5, 2003
41
i went to execute a bloc of instruction when the condition if is true :

if($arg == $indexe[0])
{
exec " /opt/OV/bin/script1 xxxxxxx ";
exec " /opt/OV/bin/script2 yyyyyyy ";
}

when the condition is true, only the first command is executed even if I permute the first commande with the seconde one.

many thanks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top