Kimono.KRun.BinaryName C# (CSharp) Method

BinaryName() public static method

Given a full command line (e.g. the Exec= line from a .desktop file), extract the name of the binary being run. name="execLine" the full command line name="removePath" if true, remove a (relative or absolute) path. E.g. /usr/bin/ls becomes ls.
public static BinaryName ( string execLine, bool removePath ) : string
execLine string
removePath bool
return string
        public static string BinaryName(string execLine, bool removePath)
        {
            return (string) staticInterceptor.Invoke("binaryName$$", "binaryName(const QString&, bool)", typeof(string), typeof(string), execLine, typeof(bool), removePath);
        }