--- python.project/src/org/netbeans/modules/python/project/ui/actions/BuildCommand.java +++ python.project/src/org/netbeans/modules/python/project/ui/actions/BuildCommand.java @@ -137,7 +137,7 @@ //System.out.println("Working directory" + path); - pyexec.setWorkingDirectory(path.toString()); + pyexec.setWorkingDirectory(path.getPath()); pyexec.setCommand(platform.getInterpreterCommand()); //Set python script