summaryrefslogtreecommitdiff
path: root/src/htscore.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/htscore.c')
-rw-r--r--src/htscore.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/htscore.c b/src/htscore.c
index a67fcde..4973479 100644
--- a/src/htscore.c
+++ b/src/htscore.c
@@ -2856,7 +2856,9 @@ void usercommand_exe(const char* cmd,const char* file) {
strcatbuff(temp,c);
}
}
- system(temp);
+ if (system(temp) == -1) {
+ assertf(! "can not spawn process"); \
+ }
}