private static void CopyInputStream(Process process, Stream input)
        {
            if(input == null)
                return;

            input.CopyDynamic(process.StandardInput.BaseStream);
            process.StandardInput.Dispose();
        }