How could I run a external C++program?

Hi, everybody. Everything ok? I hope yes.

So, I have a simple C++ program that print ( hello ) on the console, How could I when I press a button run that program exe?

Thank you

Hi ,

Check out this question which has an answer for you:

https://answers.unrealengine.com/questions/415528/is-there-a-way-to-execute-external-exe-files-from.html

You can use C++ to do it fairly easily, otherwise you’ll need to write some custom BP code (or use a Plugin like Rama’s) to get that access in BP.

ok, Thank you