OK, so it looks like it's just pushing to unix what is on the command line, and
   So the -c is an option to the sh command. I'll have to look into this now as 
well
   As to whether any of the options are of any  use, other than -c

George

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Robert Houben
Sent: Wednesday, February 15, 2012 4:18 PM
To: U2 Users List
Subject: Re: [U2] Universe's DOS command

The /k option is used to run a command (like a batch file) and "k"eep the 
command shell around for more commands. The only difference to the /c option is 
that it does not immediately close after running your command.  *nix doesn't 
have a /k option (but might have a different one).

I suspect Universe doesn't document it because what that CMD prompt can do is 
dependent on the version of DOS/Windows you are running.  They pass off to the 
O/S cmd.exe executable and it's up to that to determine what it does.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of George Gallen
Sent: February-15-12 1:14 PM
To: U2 Users List
Subject: Re: [U2] Universe's DOS command

I Tried doing the same with UV/Unix (except with the SH command).

Sh -c 'ls'   gives me directory
Sh -k 'ls'   gives a strange error: "/bin/ls: /bin/ls: cannot execute binary 
file"

I don't have a DOS box to test DOS on, so what happened when you did DOS /K...?

George

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to