foamlib 0.3.6__tar.gz → 0.3.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: foamlib
3
- Version: 0.3.6
3
+ Version: 0.3.7
4
4
  Summary: A Python interface for interacting with OpenFOAM
5
5
  Author-email: "Gabriel S. Gerlero" <ggerlero@cimec.unl.edu.ar>
6
6
  Project-URL: Homepage, https://github.com/gerlero/foamlib
@@ -1,6 +1,6 @@
1
1
  """A Python interface for interacting with OpenFOAM."""
2
2
 
3
- __version__ = "0.3.6"
3
+ __version__ = "0.3.7"
4
4
 
5
5
  from ._cases import AsyncFoamCase, FoamCase, FoamCaseBase
6
6
  from ._files import FoamDict, FoamFieldFile, FoamFile
@@ -74,8 +74,8 @@ def run_process(
74
74
  proc = subprocess.run(
75
75
  cmd,
76
76
  cwd=cwd,
77
- env=_env(cwd),
78
- stdout=None,
77
+ env=_env(cwd) if not shell else None,
78
+ stdout=subprocess.DEVNULL,
79
79
  stderr=subprocess.PIPE if check else subprocess.DEVNULL,
80
80
  text=True,
81
81
  shell=shell,
@@ -95,7 +95,6 @@ async def run_process_async(
95
95
  proc = await asyncio.create_subprocess_shell(
96
96
  str(cmd),
97
97
  cwd=cwd,
98
- env=_env(cwd),
99
98
  stdout=asyncio.subprocess.DEVNULL,
100
99
  stderr=asyncio.subprocess.PIPE if check else asyncio.subprocess.DEVNULL,
101
100
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: foamlib
3
- Version: 0.3.6
3
+ Version: 0.3.7
4
4
  Summary: A Python interface for interacting with OpenFOAM
5
5
  Author-email: "Gabriel S. Gerlero" <ggerlero@cimec.unl.edu.ar>
6
6
  Project-URL: Homepage, https://github.com/gerlero/foamlib
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes