diff options
Diffstat (limited to 'VaporSong.py')
-rw-r--r-- | VaporSong.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/VaporSong.py b/VaporSong.py index 0d55a97..bb75646 100644 --- a/VaporSong.py +++ b/VaporSong.py @@ -85,7 +85,9 @@ class VaporSong: tocomb.append(sample) tocomb.append(dest) tmpFileLimit = len(tocomb) + 256 # in case the program messes up, it does not actually frick up your system - os.system("ulimit -n " + str(tmpFileLimit)) + n = str(tmpFileLimit) + #logger.info("Setting file limit to ", n) + os.system("ulimit -n " + n) subprocess.check_output(tocomb) return dest |