lib: Fix print formatting
This commit is contained in:
parent
d047a5f2d5
commit
e27af86866
|
@ -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 ();
|
||||||
|
|
Loading…
Reference in a new issue