tags:

views:

10

answers:

0

Hi, maybe the topic isn't quite precise.. i want to write in c# (gtk#-2.0) an app which opens another app hidden and later shows that app. For now i know only how to open hidden app... in windows...:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace do_kasacji
{
    class Program
    {
        static void Main(string[] args)
        {
            ProcessStartInfo info = new ProcessStartInfo();
            info.WindowStyle = ProcessWindowStyle.Minimized;
            info.FileName = "notepad";

            using (Process pr = Process.Start(info))
            {
                pr.WaitForExit();
            }
        }
    }
}

Anyone knows how to change it so hat it would run in linux?