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
Was it helpful?

Solution

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

chmod -R 777 /directory/file
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top