Commit 4d0a7e96 authored by Eric Oulashin's avatar Eric Oulashin
Browse files

Simplified the loadable module script (called argv.join(" ") to generate the arguments string)

parent 9b3ceae1
Pipeline #2897 passed with stage
in 9 minutes and 54 seconds
...@@ -2,14 +2,5 @@ ...@@ -2,14 +2,5 @@
// Message Reader in a different path // Message Reader in a different path
var msgReaderPath = "../xtrn/DDMsgReader"; var msgReaderPath = "../xtrn/DDMsgReader";
// Build a command line string and then run DDMsgReader
var argsStr = "";
for (var i = 0; i < argv.length; ++i)
{
argsStr += argv[i];
if (i < argv.length - 1)
argsStr += " ";
}
// Run Digital Distortion Message Reader // Run Digital Distortion Message Reader
bbs.exec("?" + msgReaderPath + "/DDMsgReader.js " + argsStr); bbs.exec("?" + msgReaderPath + "/DDMsgReader.js " + argv.join(" "));
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment