Hello everyone. I have the following question. I have a specific 'echo ...' command, which I send to the linux console via " OSProcess command:'echo ... ' ". This echo command, when executed on the native linux console, stands by until it receives some message. Following this, I have to execute a 'pub...' command, which gives some information that the echo command will print on screen. On linux, you run 'echo..' on a terminal and 'pub...' on another. My objective here is to capture the output of echo into a smalltalk variable for later use. Normally, if a console command prints something immediately to screen, I use *(PipeableOSProcess command:'some command') output.*
It is here a little different though, since this command will not print something immediately to screen. I want to do something like this, where the final output of 'echo..' stays in stringVar. *stringVar := (PipeableOSProcess command: 'echo...') output. * *(Delay forSeconds:3) wait.* *(OSProcess command: 'pub... ').* *(Delay forSeconds:3) wait.* Thank you all.