Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Passing data between QM exe's - Stdin, Stdout?
#1
Hi Gintaras,
I am interested in passing data (str, array, int values) between QM-compiled executable applications and different programs running on the same PC - 2 scenarios:

1) Between two separate QM-compiled executables:
I know how to pass arguments via run command line using ExeParseCommandLine but not how to pass information in an I/O stream or pipeline between two running exe's. So currently, I do this all by setfile and getfile to local txt files. I think this must be slower and also sometimes is a problem when txt file gets locked for some reason.

2) Between tcl script in a application that uses a tcl compiler as it's API scripting lanugage and concurrently running QM-compiled executable.

I think Stdout Stdin may apply but not sure:

https://en.wikipedia.org/wiki/Standard_streams

https://msdn.microsoft.com/en-us/library/3x292kth.aspx

Also looked at these QM forum posts:

http://www.quickmacros.com/forum/showthread.php?tid=982

http://www.quickmacros.com/forum/showthr...p?tid=2872

and more relevant to Stderr

http://www.quickmacros.com/forum/showthr...p?tid=3905

Thanks for any ideas,
Thanks, S


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)