Running a python script calling bitcoind-cli using popen on ubuntu, on large blocks with many trasactions, when calling getrawtransaction i get the error OSError: [Errno 7] Argument list too long
i understand it's a buffer issue between the shell and the python script? there's a single argument, i guess it's just a very long one
need i check something else? can i make the buffer larger somehow or should i change the method i interact with bitcoind to RPC?
tried it on a local and an AWS ubuntu machines
thanks