How to run an external .exe file (software) from unreal engine?

Hi,
I want to run an external SimpleSoftware.exe from inside unreal engine.
To do so, I am using FGenericPlatformProcess.
Below is the code I am using:

	FGenericPlatformProcess::CreateProc
	(
		TEXT("C:\\Users\\meysam.imanipour\\OneDrive - ESTACA/Desktop\\IHateYouToTheEnd\\SimpleProgram\\SimpleSoftwareSol\\SimpleSoftwareSol\\x64\\Release\\SimpleSoftware.exe"),
		nullptr,
		true,
		false,
		false,
		nullptr,
		0,
		nullptr,
		nullptr
	);

However When running this I don’t see a new window of SimpleSoftware.exe.

What I need to do, is there something missing from the code?

Thanks.

Change FGenericPlatformProcess to FPlatformProcess. CreateProc isn’t implemented for FGenericPlatform.

FPlatform is simply an alias for the targeted platform which would (presumably) be FWindowsPlatform here.


1 Like

Thank you.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms