Try  execute 'SH -c "pwd ; cd / ; pwd " '

Each SH is a separate shell environment


Support: James F Thompson
Senior Systems Analyst 
Cypress Business Solutions 
678.494.9353
supp...@cypressesolutions.com 

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Brutzman, Bill
Sent: Thursday, October 01, 2009 4:17 PM
To: U2 Users List
Subject: [U2] [UV] Getting to the OS


The first UniBasic command works; the second command does not...

  execute 'SH -c "pwd" '
  execute 'SH -c "cd /" '
  execute 'SH -c "pwd" '

UniVerse on HP-Ux comes back with...

  /u2/METAL
  /u2/METAL

Help would be appreciated.

--Bill Brutzman
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to