]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/tools/exec_utils.py
subprocess needs string argument
[nominatim.git] / nominatim / tools / exec_utils.py
index e6b9d8d4d15f032cfc1bdf3312f764546b6960f7..88940461e846727f6c1194fe70ae2ed6e5e6bc74 100644 (file)
@@ -99,7 +99,7 @@ def run_osm2pgsql(options):
     """ Run osm2pgsql with the given options.
     """
     env = get_pg_env(options['dsn'])
-    cmd = [options['osm2pgsql'],
+    cmd = [str(options['osm2pgsql']),
            '--hstore', '--latlon', '--slim',
            '--with-forward-dependencies', 'false',
            '--log-progress', 'true',