'Python subprocess terminal/space need to be adjusted to a value other than 80/24

I am working on invoking and executable as a part of script in python using subprocess.Popen. subprocess.Popen(command,stdin=subprocess.PIPE, stdout=subprocess.PIPE). The executable need to open in a subprocess terminal/window/space larger than 80/24 else the results get truncated. I need to adjust the input/flags to subprocess so that columns number is changed. I have tried env= {'COLUMNS':'300'} but that doesn't help.

I use python 2.7



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source