Question

Here is my code, I'm trying to simply open Adobe Acrobat Reader. When I use this code, or /Applications/Adobe Reader.app, the console tells me that "permission denied". Any ideas on how to get around this?

Shoes.app :width => 200, :height => 200 do
  flow :width => 800, :margin => 10 do
    button "OK" do
      `/Users/Travis/Desktop/test.fdf`
    end
  end

end
Était-ce utile?

La solution

Try adding more permissions to the file. You can do this via the termial:

chmod -R 777 /directory/file
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top