I have it running by creating a temporary file and use that as input for the
program. Writing to stdin and reading the result from stdout does not work
whatever I do. On the command line (cmd.exe) it works flawlessly, just not
like that from the RB shell.
I don't like using the shell, and I don't like having to create temporary
files at all, so I'll most likely will be spending time on coding the
additional functionality (from thatfile.exe) myself.
Anyways, thanks again for the input.
Ronald Vogelaar
--
http://www.rovosoft.com
----- Original Message -----
From: "Craig A. Finseth" <[EMAIL PROTECTED]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, September 05, 2006 7:14 PM
Subject: Re: Shell / StdIn question
...
Put everything in a shell script and use a here value:
#!/bin/sh
thatfile.exe <<XXX
<your input line 1>
<your input line 2>
...
<your input line n>
XXX
Then, run the shell script. Since this is Windows, you may have
(well, will) to tweak the first line, but the concept still applies.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>