For the one interrested in:

Dim myProcess As New Process()
myProcess.StartInfo.FileName = "mame.exe"
myProcess.StartInfo.Arguments = " " & displayArray(masterIndex).rom & " -volume -" & My.Settings.mame_volume & " -skip_gameinfo"
myProcess.Start()
myProcess.WaitForExit()
myProcess.Close()