diff options
| author | Frederick Muriuki Muriithi | 2026-08-24 14:26:00 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-08-24 14:26:00 -0500 |
| commit | a08f24c69d35f3e82291fa4051f787964ec7bc9c (patch) | |
| tree | b1b16bc2e6d7f0d5a869282db4942710354424e6 /sourcecodes/bn_file_load_gom.php | |
| parent | d1e617f31c2ed2900845b7ea806ab5ee647d4de0 (diff) | |
| download | BNW-a08f24c69d35f3e82291fa4051f787964ec7bc9c.tar.gz | |
Use new `runTerminalCommand()` wrapper to run commands.
Diffstat (limited to 'sourcecodes/bn_file_load_gom.php')
| -rw-r--r-- | sourcecodes/bn_file_load_gom.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sourcecodes/bn_file_load_gom.php b/sourcecodes/bn_file_load_gom.php index a09c8bf0..4f5945e2 100644 --- a/sourcecodes/bn_file_load_gom.php +++ b/sourcecodes/bn_file_load_gom.php @@ -11,6 +11,8 @@ include("header_new.inc"); include("header_batchsearch.inc"); include("runtime_check.php"); include("input_validate.php"); +require("terminal_commands.php"); + $searchID=""; $UploadValue="NO"; @@ -147,7 +149,8 @@ if($searchID!="") } } $keyval = valid_keyval($keyval); - shell_exec('./run_scripts/run_prep_input '.$keyval); + runTerminalCommand(// assumes /tmp/bnw exists + [realpath(__DIR__.'/run_scripts/run_prep_input'), $keyval]); $parent_number=4; $k_number=1; $runtime=exe_time($keyval,$parent_number,$k_number); |
