0

I have a python script. When running it in console everything is fine.

When starting it as a subprocess

subprocess.Popen((sys.executable,python_file_path),universal_newlines=True, shell=False, creationflags=NO_WINDOW)

Everything seems to work as well. BUT somehow I see on the DB / PgBouncer side the error got too long value, skipping. The script runs a async loop and does inserts using asyncpg.

Any idea what it may be?

MichaelRazum
  • 789
  • 1
  • 10
  • 26

0 Answers0