You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Normally File.expand_path(__dir__) or File.dirname(__FILE__) would return the current directory. But if I run that in my run.eye file, it returns . - any reason for that? - How would I get the current file's directory path in my eye script?
Hi there,
Normally
File.expand_path(__dir__)
orFile.dirname(__FILE__)
would return the current directory. But if I run that in my run.eye file, it returns . - any reason for that? - How would I get the current file's directory path in my eye script?I also tried:
But the $current_path gets set to /
Strangely, when running eye in the foreground with -f, the path gets expanded correctly.
The text was updated successfully, but these errors were encountered: