lib: Fix print formatting

This commit is contained in:
Hylke Bons 2016-03-28 15:49:32 +01:00
parent d047a5f2d5
commit e27af86866

View file

@ -36,8 +36,12 @@ namespace SparkleLib {
new public void Start () new public void Start ()
{ {
SparkleLogger.LogInfo ("Cmd | " + Path.GetFileName (StartInfo.WorkingDirectory), string folder = "";
Path.GetFileName (StartInfo.FileName) + " " + StartInfo.Arguments);
if (!string.IsNullOrEmpty (StartInfo.WorkingDirectory))
folder = Path.GetFileName (StartInfo.WorkingDirectory) + " | ";
SparkleLogger.LogInfo ("Cmd", folder + Path.GetFileName (StartInfo.FileName) + " " + StartInfo.Arguments);
try { try {
base.Start (); base.Start ();