I have a problem while executing a '.exe' file in git bash

960 views Asked by At

It doesn't execute the command when I type it

enter image description here

2

There are 2 answers

2
Donat On

If the .exe file, that you want to execute, is in the current directory, you have to type

./command

Look for documentation for the environment variable PATH if you do not want to type ./ in front of your command.

0
zrrbite On

There's nothing preventing execution of .exe files in msys-git/git-for-windows, which you seem to be using.

Your program oop1does not seem to output anything.