#126 代码运行目录问题

Closed
created 1 year ago by hrfqgp80735 · 1 comments
系统将所有的代码文件中都放在了/code目录中,但是启动的时候却是从根目录下执行/code中的启动文件,这样就会导致启动文件读取当前目录下的配置文件或者其它文件报错。虽然可以通过写死所有需要用的文件的目录,但是这样未免比较麻烦,能否在启动任务的时候,先cd /code,然后再启动运行程序呢? ![1fe77618dc1953682f81553c6b62e71](/attachments/ce61e0c9-daca-4eb3-b3b2-0b1bceee0c8d)
liuzx commented 1 year ago
Collaborator
参考issue https://git.openi.org.cn/zeizei/OpenI_Learning/issues/58
hrfqgp80735 closed this issue 1 year ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.