Skip to content

Commit

Permalink
PopenSpawn import
Browse files Browse the repository at this point in the history
  • Loading branch information
MuellerSeb committed Jan 21, 2019
1 parent ac28b88 commit ccfb2d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ogs5py/ogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from copy import deepcopy as dcp
from whichcraft import which
import pexpect
from pexpect.popen_spawn import PopenSpawn
from ogs5py.fileclasses import (
ASC,
BC,
Expand Down Expand Up @@ -59,7 +60,7 @@
# pexpect.spawn just runs on unix-like systems
if sys.platform == "win32":
OGS_NAME = "ogs.exe"
CmdRun = pexpect.popen_spawn.PopenSpawn
CmdRun = PopenSpawn
else:
OGS_NAME = "ogs"
CmdRun = pexpect.spawn
Expand Down

0 comments on commit ccfb2d5

Please sign in to comment.