Perl and C++ - preCharge Forums
It shows that you are unregistered. Please register with us by clicking Here
preCharge Forums


Nav Green LeftNav Right
preCharge Forums > Website Design & Development > Programming > Perl » Perl and C++


Reply
Tcat Right
 
LinkBack Thread Tools Display Modes Tcat Right
Old 07-02-2006   #1 (permalink)
jeremiah
Junior Member
 
Join Date: Jul 2006
Age: 49
Posts: 6
Default Perl and C++

Is it possible to execute a C++ console application through perl.We have a windows console application which needs to be run recursively at specified interval ,and the output from stdout to be collected.
Since the framework we are integrating with this application, provides interfaces through perl script, we wanted to explore if the above option is possible.
If yes, samples or links will be very helpful.
Thanks
Jeremiah
jeremiah is offline   Reply With Quote


Old 07-23-2006   #2 (permalink)
Ankita
Member
 
Join Date: Jul 2006
Age: 25
Posts: 53
Default Re: Perl and C++

launch it through:

my $output = `application.exe "xxxparameters to be passed to the exe"`;

Leave it blank of no parameters to be passed.

Else

system("Name of the exe.exe >> file where you would like to store the output");

Let me know if you need something else...or if this helps!
Ankita is offline   Reply With Quote

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
UIMA SDK v 1.4.1 – Supports Perl and TCL gabriel JavaScript 1 10-12-2006 01:49 AM
How to run a javascript then trigger perl hailey Perl 2 07-23-2006 05:41 PM
Perl DBD::Oracle andrew Perl 0 07-12-2006 04:52 PM
FTP GET for files from mainframes using perl pedro Perl 0 07-07-2006 03:10 PM
FTP GET for files from mainframes using perl chase Perl 0 07-02-2006 02:11 PM


footer left
All times are GMT. The time now is 06:13 PM.

DISCLAIMER: preCharge Risk Management is not responsible for any opinions, advice or comments expressed on the preCharge Community Forums.
preCharge® is a registered trademark of preCharge Risk Management | chargeback protection | Merchant Account Blog

Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC6

0 Credit Cards | Loans | Personal Finance | Student Credit Cards | Car Insurance

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49