Path does not exist -- but it does
Opened this issue · 1 comments
filipkrw commented
Hello beautiful people!
When trying to build a .pde
(Processing) file using either build-processing package or my custom build command, I get an error: "C:\mypath" does not exist
. But the path does exist and when I use the exact same command in cmd, it works.
Here's my custom build file and the command it's producing.
{
"cmd": "processing-java",
"name": "Run",
"sh": true,
"args": [
"--sketch=\"{FILE_ACTIVE_PATH}\"",
"--run"
]
}
cmd /C processing-java --sketch="C:\mypath" --run
Does it have something to do with atom-build cmd /C
prefix?
I would be very grateful for some help.
Cheers!
filipkrw commented
Found a fix, simply don't use quotation marks around the file path. Here's my working build file if anybody needs it:
{
"name": "Processing",
"cmd": "processing-java",
"sh": true,
"args": [
"--sketch={FILE_ACTIVE_PATH}",
"--force",
"--run"
]
}
Remember that the .pde
file has to be in a folder with a name same as the file, i.e. processing/processing.pde
.