Hi,
I was trying to use below python code in FME. But it is throwing an error i.e. '<TypeError>: bufsize must be an integer'. Can anyone help me on this to get it resolved? I will provide the complete script on request if required.
Thanks in advance
#Code used in python caller
arg1 = o'pg_dump', '-t', 'schema1_table1', 'server1_conn','|','psql', 'local_conn']
proc = subprocess.Popen(arg1,cwd=directory, shell=True,stdin=PIPE)
#where
#server1_conn = "host=<server_host> port=<server_port> dbname=<server_db> user=<server_user> password=<server_pwd>"
#directory = C:\Program Files\PostgreSQL\14\bin