Esempio n. 1
0
        public bool Start(IProcessStartInfo startInfo)
        {
            var process = new ProcessWrap();

            process.StartInfo = startInfo;
            return(process.Start());
        }
        public IProcess Start(IProcessStartInfo psi)
        {
            IProvideOrgProcessStartInfo orgProvider = psi as IProvideOrgProcessStartInfo;

            if (orgProvider == null)
            {
                throw new ArgumentException("Missing Implementation of IProvideOrgProcessStartInfo to provide interoperability with the framework", nameof(psi));
            }
            return(new ProcessWrapper(Process.Start(orgProvider.OrgInfo)));
        }
Esempio n. 3
0
 /// <inheritdoc />
 public IProcess Start(IProcessStartInfo startInfo)
 {
     return new ProcessWrap(Process.Start(startInfo.UnderlyingObject));
 }
		public IMultiprocessorProcess Start (IProcessStartInfo psi)
		{
			throw new NotImplementedException ();
		}
Esempio n. 5
0
 /// <inheritdoc />
 public IProcess Start(IProcessStartInfo startInfo)
 {
     return(new ProcessWrap(Process.Start(startInfo.UnderlyingObject)));
 }
		public IMulticoreProcess Start (IProcessStartInfo psi)
		{
			var res = ProcessAPI.Linux.Process.Start ();
			return new MulticoreProcess(res);
		}