[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] How to call a compiled C++ program



At 9:19 PM -0400 4/22/99, bobbys wrote:

} >
} > MacPerl itself cannot do this.
}
}
} Okay, that's what I figured :-(
}
} I am not familiar with MPW, and I don't have the time this week to play
}with it
} enough.
}
} As far as MacPerl itself not being able to do this, is there a way for
}Perl on a
} UNIX box (ie, MacOS X Server) to do so? If so, what would I need to do to set
} the Perl script to the result of the c++ app? Apologies if this is now
}straying
} to far away from this specific list.... I'd appreciate any advice
}(offline may
} be called for).

Yeah, sure.  Depending on what you want exactly, any of system(), exec(),
open("c++prog |"), Open2, Open3, can do what you seem to want.  Choose the
one that best suits your needs.

}
} Thanks!
}
} Perl Rocks!
}
}
} -*-*-*-*-*-*-*-*-*-*-*-
} bobbys@i-2000.com
} - - - - - - - - - - -
}

-----
Paul J. Schinder
schinder@pobox.com

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org