Getting Editor execution path in Build.cs

I’ve tried to find way to get executable path directly, but didn’t find anything.
I’m using BuildConfiguration.RelativeEnginePath for now, that does the trick.