I want an Exec command to take input from Standard Input. I've looked at the Gambas documentation and it states: "If WRITE is specified, data can be sent to the command standard input by using the Process object with common output instructions: PRINT, WRITE, ... Note that a reference to the Process object is required.".
I don't understand the above. It seems to imply that I should code penigma_app.Print sPlain (with Dim sPlain As String and sPlain = "QWERTYU") where my Exec statement is: penigma_app = Exec aExecParameters Wait For Read Write As "EnigmaResultsDetail" and I have "Dim penigma_app as Process". However, the IDE does not show Print after coding penigma_app. and the compiler objects. What do I need to do. Also, the Gambas documentation states: "If you plan to control an application by sending commands to standard input then testing should be performed outside of the IDE (i.e. make an executable and launch it from the command line) as the console within the development environment is not a true virtual terminal and will cause unexpected results.". So presumably, I would need to test the app after creating an executable. So if the executable was named EnigmaWehrmacht.gambas what would I need to enter on the command line to test this app? -- John ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user