Introduction
Introduction Statistics Contact Development Disclaimer Help
tio.jl: use posix shell for system calls - Granular.jl - Julia package for gran…
git clone git://src.adamsgaard.dk/Granular.jl
Log
Files
Refs
README
LICENSE
---
commit 73ab828b8dad6bbf18c92891a75de3b374d5e9a2
parent 9e33ecfe07f9c085f53b15d0d2cd33f4c0d98584
Author: Anders Damsgaard <[email protected]>
Date: Thu, 1 Jul 2021 14:50:04 +0200
io.jl: use posix shell for system calls
Diffstat:
M src/io.jl | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/src/io.jl b/src/io.jl
t@@ -1183,15 +1183,15 @@ Remove all simulation output files from the specified …
"""
function removeSimulationFiles(simulation::Simulation; folder::String=".")
folder = folder * "/" * simulation.id
- run(`bash -c "rm -rf $(folder)/$(simulation.id).*.vtu"`)
- run(`bash -c "rm -rf $(folder)/$(simulation.id).*.vtp"`)
- run(`bash -c "rm -rf $(folder)/$(simulation.id).*.vts"`)
- run(`bash -c "rm -rf $(folder)/$(simulation.id).status.txt"`)
- run(`bash -c "rm -rf $(folder)/$(simulation.id).*.jld2"`)
- run(`bash -c "rm -rf $(folder)/$(simulation.id).py"`)
- run(`bash -c "rm -rf $(folder)/$(simulation.id).avi"`)
- run(`bash -c "rm -rf $(folder)/$(simulation.id).*.png"`)
- run(`bash -c "rm -rf $(folder)"`)
+ run(`sh -c "rm -rf $(folder)/$(simulation.id).*.vtu"`)
+ run(`sh -c "rm -rf $(folder)/$(simulation.id).*.vtp"`)
+ run(`sh -c "rm -rf $(folder)/$(simulation.id).*.vts"`)
+ run(`sh -c "rm -rf $(folder)/$(simulation.id).status.txt"`)
+ run(`sh -c "rm -rf $(folder)/$(simulation.id).*.jld2"`)
+ run(`sh -c "rm -rf $(folder)/$(simulation.id).py"`)
+ run(`sh -c "rm -rf $(folder)/$(simulation.id).avi"`)
+ run(`sh -c "rm -rf $(folder)/$(simulation.id).*.png"`)
+ run(`sh -c "rm -rf $(folder)"`)
nothing
end
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.