Changeset 104 for trunk/oarutils
- Timestamp:
- May 14, 2014, 6:32:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/oarutils/oar-envsh
r29 r104 16 16 shift 17 17 18 ulimit_s=$(ulimit -s) 19 ulimit_n=$(ulimit -n) 20 ulimit_l=$(ulimit -l) 21 18 22 MYENV=$( env \ 19 23 | grep "^[ABCDEFGHIJKLMNOPQRSTUVWXYZ]" \ … … 27 31 | tr [\\\n] [\;] ) 28 32 29 exec /opt/oar/current/bin/oarsh $HOST " $MYENV $@"33 exec /opt/oar/current/bin/oarsh $HOST "ulimit -s ${ulimit_s}; $MYENV $@" 30 34 31 35 exit
Note: See TracChangeset
for help on using the changeset viewer.