File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 154
154
"source" : [
155
155
" from pydra.tasks.testing import Divide\n " ,
156
156
" from pydra.utils.general import default_run_cache_root\n " ,
157
- " import subprocess\n " ,
158
157
" \n " ,
159
158
" if __name__ == \" __main__\" :\n " ,
160
159
" divide = Divide(x=15, y=0)\n " ,
163
162
" except Exception:\n " ,
164
163
" pass\n " ,
165
164
" \n " ,
166
- " errorfile = default_run_cache_root / divide._checksum / \" _error.pklz\"\n " ,
167
- " subprocess.run([\" pydracli\" , \" crash\" , str(errorfile)])"
165
+ " errorfile = default_run_cache_root / divide._checksum / \" _error.pklz\" "
166
+ ]
167
+ },
168
+ {
169
+ "cell_type" : " code" ,
170
+ "execution_count" : null ,
171
+ "metadata" : {},
172
+ "outputs" : [],
173
+ "source" : [
174
+ " %%bash -s \" $errorfile\"\n " ,
175
+ " \n " ,
176
+ " pydracli crash $1"
168
177
]
169
178
},
170
179
{
You can’t perform that action at this time.
0 commit comments