Is there an implementation of a Unix shell and commands? It can be a cover around Saigwin, or standalone built from a public domain source. The commands I really want to use are wc, tar, cpio, ps, kill, cat, at ...
How to do it (pseudo code)
Usain Sigwin
.....
Shell MyShell = New Shell ("CAT file1 file2> file3"); MyShell.Run (DateTime.Now);
Edit> I can see the shell out approach, I used that approach in the past, however, it just feels ugly, this is another process, it There is no need for another install on client machines, for this you will have to walk around creating command strings. As another example
shell myShell = new shell (); MyShell.Infiles.Add (stream object); MyShell.Outfiles.Add (stream object); MyShell.Stderr.NewOutput + = myErrorLogger ();
etc
Have you seen PowerShell? There can be several functions using the Unix command.
Comments
Post a Comment