Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
SRP_Run_Command
I've been using the SRP_Run_Command for a while now and for some reason I'm getting an issue where it's not able to run certain commands that it was able to before. For instance I have a jar file that I created that exports the results into a .txt file so for the full command argument I use something similarly to :
commandLine = "java -jar LuceneIndexSearcher.jar "
searchArgument = "firstname;lastname;;;;;" (semicolons are delimiters for my jar file program)
SRP_Run_Command(commandLine : searchArgument, "VAR", fileDirectory, '')
If I try to run the program with the exact same command "java -jar LuceneIndexSearcher.jar firstname;lastname;;;;;" in a command prompt, it works successfully, however lately when I run SRP_Run_Command it seems to work depending on the structure of the searchArgument "firstname;lastname;;;;;". Has there been an update recently and are there any characters I'm using such as a semicolon that may affect the way it executes a command? (And yes I am putting a space between the jar file name and the argument)
Thank you,
commandLine = "java -jar LuceneIndexSearcher.jar "
searchArgument = "firstname;lastname;;;;;" (semicolons are delimiters for my jar file program)
SRP_Run_Command(commandLine : searchArgument, "VAR", fileDirectory, '')
If I try to run the program with the exact same command "java -jar LuceneIndexSearcher.jar firstname;lastname;;;;;" in a command prompt, it works successfully, however lately when I run SRP_Run_Command it seems to work depending on the structure of the searchArgument "firstname;lastname;;;;;". Has there been an update recently and are there any characters I'm using such as a semicolon that may affect the way it executes a command? (And yes I am putting a space between the jar file name and the argument)
Thank you,
Comments