We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c22a742 commit b15d4edCopy full SHA for b15d4ed
PySpice/Spice/Xyce/Server.py
@@ -110,12 +110,14 @@ def __call__(self, spice_input):
110
with open(input_filename, 'w') as f:
111
f.write(str(spice_input))
112
113
- process = subprocess.Popen((self._xyce_command,
114
- '-r', output_filename,
115
- input_filename),
116
- stdin=subprocess.PIPE,
117
- stdout=subprocess.PIPE,
118
- stderr=subprocess.PIPE)
+ command = (self._xyce_command, '-r', output_filename, input_filename)
+ self._logger.info('Run {}'.format(' '.join(command)))
+ process = subprocess.Popen(
+ command,
+ stdin=subprocess.PIPE,
+ stdout=subprocess.PIPE,
119
+ stderr=subprocess.PIPE,
120
+ )
121
stdout, stderr = process.communicate()
122
123
self._parse_stdout(stdout)
0 commit comments