How do I execute a file in Cygwin?

Thomas Owens picture Thomas Owens · Aug 30, 2008 · Viewed 118.6k times · Source

How can I execute a.exe using the Cygwin shell?

I created a C file in Eclipse on Windows and then used Cygwin to navigate to the directory. I called gcc on the C source file and a.exe was produced. I would like to run a.exe.

Answer

Allain Lalonde picture Allain Lalonde · Aug 30, 2008

./a.exe at the prompt