Ahh subtle difference our udt box is A web server but not our main one. Our main web farm is based on win iis . Udt is on linux which comes with apache by default. So no rexec but to do it remotely you just call the web page from your other app/website/javascript etc.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 17 November 2008 17:22 To: [email protected] Subject: RE: [U2] Setting return code when a Universe process terminates Symeon, Nice. Since exec is used, your U2 server must also be your web server, right? In our environment here, the U2 server is a different machine than the web server. I wonder, is there and rexec equivalent in PHP and has anyone done this remotely? > $udtCmd="LANG=en_US.UTF-8;export LANGcd /usr/ud/accounts/$account;/usr/ud71/bin/udt RUN $BP $prog"; > $result = array(); > exec( $udtCmd, &$result); > foreach ( $result as $v ) > { > if (substr($v,0,6)=="!stat="){ > $stat=substr($v,6,10); > } > } Charles Shaffer Senior Analyst NTN-Bower Corporation ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.175 / Virus Database: 270.9.3/1786 - Release Date: 16/11/2008 19:58 ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
