Category : windows-server-2016

Here’s the setup- It’s a Windows 2016 Server with Apache as the web server. The subprocess call is as follows: subprocess_results = subprocess.run([‘pgsql2shp’, ‘-f’, <path-to-output-shapefile>, ‘-h’, ‘127.0.0.1’, ‘-u’, <user_name>, ‘-P’, <password>, ‘database_name’, ‘SELECT * FROM temp’], capture_output=True) When I run this in development (manage.py runserver), the shapefile gets created at <path-to-output-shapefile>. However, if I try ..

Read more