首页 > 解决方案 > 优雅地处理不存在的 PWD

问题描述

每当我在不存在的目录中执行水晶程序时,它都会失败并显示Unhandled exception: getcwd: No such file or directory (Errno). 我找不到优雅处理这种情况的方法,有可能吗?

标签: exception-handlingcrystal-langpwd

解决方案


推荐阅读