Passing arguments on Windows (XP)



Hi,

I'm trying to put a Tk front-end onto a program I've been given
which reads from stdin.

Looking at the manual, it seems that I could do this with exec,
getting the prgram to read from a socket and writing the arguments to
that socket. However, I'm on Windows, and the manual says that reading/
writing from/to a socket doesn't work on Windows.

Is there a mechanism that DOES work, other then writing a
temporary file, which I can see would work, but seems inelegant.

TIA
Alan

.



Relevant Pages

  • Re: New to C#
    ... However, I started messing with windows forms/.net and I really am liking it, for once managed code seems doable. ... I didn't like MFC very much, as it didn't seem to offer much to me that I couldn't do as easily using native Windows APIs. ... There are still too many situations where C++ is useful, and as long as anyone is writing non-managed applications I think C++ will be the language of choice. ... As far as sockets particularly go, based on the questions I've seen here, much of what trips people up writing for the .NET Socket class is the same stuff that trips people up writing for any other socket API. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Passing arguments on Windows (XP)
    ... getting the prgram to read from a socket and writing the arguments to ... However, I'm on Windows, and the manual says that reading/ ... writing from/to a socket doesn't work on Windows. ... exec yourprogram << $value ...
    (comp.lang.tcl)
  • Select
    ... I am writing a program where I need to be able to check for data on $socket ... I have been searching, and the only code I can come up with is: ... The received data is always terminated with a \n and so is the STDIN, ...
    (comp.lang.perl.misc)
  • Re: Passing arguments on Windows (XP)
    ... getting the prgram to read from a socket and writing the arguments to ... However, I'm on Windows, and the manual says that reading/ ... writing from/to a socket doesn't work on Windows. ... exec yourprogram << $value ...
    (comp.lang.tcl)
  • Re: Socket recv() question?
    ... You might be doing something crazy, writing the data to the file one byte at ... socket function correctly? ... How come when I use the IE on the Pocket PC and started IIS on my PC. ... Configure tx timeout ...
    (microsoft.public.windowsce.app.development)