Communicating With NewLISP
Posted: Mon May 08, 2006 7:59 pm
I'm back. :]
I've done some reading on the "open", "exec", and "pipe" commands in the NewLISP manual and I'm still a little confused about the best way to approach a particular problem.
I'm trying to set up communication via text messages between a NewLISP application and an application that doesn't support pipes. (Namely AutoLISP...) However, I can write to text file from the other application.
I think I can write my message for the NewLISP application into a text file and use a combination of the "pipe", "exec" and "open" functions in my NewLISP application to incrementally read that text from the same file.
Is this possible, and if so, how might I use the three newLISP functions to do so?
Thanks for the help.
The Sunburned Surveyor
I've done some reading on the "open", "exec", and "pipe" commands in the NewLISP manual and I'm still a little confused about the best way to approach a particular problem.
I'm trying to set up communication via text messages between a NewLISP application and an application that doesn't support pipes. (Namely AutoLISP...) However, I can write to text file from the other application.
I think I can write my message for the NewLISP application into a text file and use a combination of the "pipe", "exec" and "open" functions in my NewLISP application to incrementally read that text from the same file.
Is this possible, and if so, how might I use the three newLISP functions to do so?
Thanks for the help.
The Sunburned Surveyor