Ошибка BrokenPipe в process.StandartInput () в .NetCore в Ubuntu 18 - PullRequest
0 голосов
/ 06 апреля 2020

Есть утилита для миграции с Sqlite на PostgreSQL на. Net Core 2.0. В Ubuntu 18 с process.StandartInput() возникает ошибка BrokenPipe, в Ubuntu 16 все работает, в чем может быть проблема? На картинках код утилиты и ошибка

enter image description here

System.AggregateException: One or more errors occurred. (Broken pipe) ---> 
System.IO.IOException: Broken pipe at System.IO.FileStream.WriteNative(Byte[] array, Int32 offset, Int32 count) 
at System.IO.FileStream.FlushWriteBuffer() 
at System.IO.FileStream.Dispose(Boolean disposing) 
at System.IO.Stream.Close() at System.IO.StreamWriter.Dispose(Boolean disposing)
at System.IO.TextWriter.Dispose() at SQLiteToPostgre.Program.<ExecuteSqliteCmd 
...