Hi, I have seem to have a more intricate issue with backticks and string interpolation, and not sure what you mean by ‘command syntax’?
To compile several java .class files into one .jar files, I need to do:
run(`jar cf dest.jar folder/*.class`)
The issue is that the
* character gets picked up by Julia and introduces single quotes, which in turn disrupts the
jar process with an error:
failed process: Process(`jar cf dest.jar 'folder/*.class'`, ProcessExited(1))
However, by hand I am able to run without the awkward single quotes just fine.
jar cf dest.jar folder/*.class
The issue is that I need all the
*.class files in one
.jar file, which are generated from a Julia process. This automated single quoting seems a bit tricky in this situation… I think the documentation motivates the case of working around spaces in file names, but maybe a
funny\ filename.txt would be an alternative solution rather than an automated
Is there a workaround to avoid the introduction of single quotes? Thanks in advance.