Hi,
I'm not sure there is an answer to this question, but here goes.
I have a program written in c++ (compiled in windows using devC++) and I can run dos commands easily using the "system function". I can also launch the cygwin bash shell by using this function. Obvously, you cannot send command prompts/lines to cygwin using the system function. Is there anyway you can send commands to cygwin via a c++ program.
Can this be done when running a devC++ compliedl program running in windows? Or alternatvly, can this be done by compliing a program within cygwin and running it from cygwin?
Thanks alot