e22be4275b
Notes: - I have (not yet) succeeded to enable MFront in this version; - it uses math/mumps-edf, repocopied from math/mumps; - cad/scotch is now taken out of the aster tarball; - french/eficas is no more used: to be replaced by "aster-study" in Salome_Meca (the port cad/salome should be resurrected!)
23 lines
819 B
Python
23 lines
819 B
Python
--- asrun/system_command.py.orig 2017-07-13 07:40:52 UTC
|
|
+++ asrun/system_command.py
|
|
@@ -21,9 +21,9 @@
|
|
This module defines syntaxes to run command lines.
|
|
"""
|
|
|
|
-from asrun.common.sysutils import on_linux
|
|
+from asrun.common.sysutils import on_windows
|
|
|
|
-if on_linux():
|
|
+if not on_windows():
|
|
COMMAND = {
|
|
'foreground' : '( %(cmd)s ) > /dev/null 2>&1',
|
|
'background' : '( %(cmd)s ) > /dev/null 2>&1 &',
|
|
@@ -33,7 +33,7 @@ if on_linux():
|
|
'not_follow_separ_stderr' : '( %(cmd)s ) > %(output)s 2> %(error)s',
|
|
'rm_file' : '\\rm -f %(args)s',
|
|
'rm_dirs' : '\\rm -rf %(args)s',
|
|
- 'copy' : 'cp -L -r %(args)s',
|
|
+ 'copy' : 'cp -L -R %(args)s',
|
|
'ping' : 'ping -c 1 -W %(timeout)s %(host)s',
|
|
'shell_cmd' : "bash -c",
|
|
'file' : "file %(args)s",
|