Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

fork/exec/pipe
Hi

I am trying to control to start an octave process where I can write
to it read the output back into perl.

For example I would like to :

1 - Start octave
2 - Write a=1 b=2. Read output into perl
3 - Write a+b. Read output into perl and so on.

Could someone please help me do this.

Thanks

Report this thread to moderator Post Follow-up to this message
Old Post
Zafer Leylek
09-29-04 03:45 PM


Re: fork/exec/pipe
> Hi
>
> I am trying to control to start an octave process where I can write
> to it read the output back into perl.
>
> For example I would like to :
>
> 1 - Start octave
> 2 - Write a=1 b=2. Read output into perl
> 3 - Write a+b. Read output into perl and so on.
>
> Could someone please help me do this.
>
> Thanks
>

Have a look at the following docs,

perldoc perlipc
perldoc IPC::Open3
perldoc IPC::Open2
perldoc perlopentut

See if they help. In general the above will allow you to avoid messing
with setting up your own pipes, etc. but still allow you to read/write
to a process.  If they don't work you can get lower level but start
there first.

http://danconia.org

Report this thread to moderator Post Follow-up to this message
Old Post
Wiggins d Anconia
09-29-04 03:45 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PERL Beginners archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:41 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.