Exemplo n.º 1
0
        /// <summary>
        /// Starts a process with start info asynchronously
        /// </summary>
        public static void StartAsync(ProcessStartInfo psi)
        {
            StartDelegate3 dlgt = new StartDelegate3(Start);

            dlgt.BeginInvoke(psi, ar =>
            {
                try
                {
                    dlgt.EndInvoke(ar);
                }
                catch (Exception ex)
                {
                    // Something wrong, handling for possible leaks
                }
            },
                             null);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Starts a process with start info asynchronously
 /// </summary>
 public static void StartAsync(ProcessStartInfo psi)
 {
     StartDelegate3 dlgt = new StartDelegate3(Start);
     dlgt.BeginInvoke(psi, null, null);
 }
Exemplo n.º 3
0
        /// <summary>
        /// Starts a process with start info asynchronously
        /// </summary>
        public static void StartAsync(ProcessStartInfo psi)
        {
            StartDelegate3 dlgt = new StartDelegate3(Start);

            dlgt.BeginInvoke(psi, null, null);
        }