Skip to content

Do I need to import a File System plugin if I want to specify a file as an argument in Shell? #12410

Answered by FabianLars
Robert-Du0001 asked this question in Q&A
Discussion options

You must be logged in to vote

No, the fs plugin is only required if you want to explicitly use the fs apis the plugin provides.

In your case i think the cwd is just different than what you expect. I think in dev the cwd is set to the src-tauri dir, but not 100% sure

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Robert-Du0001
Comment options

@Robert-Du0001
Comment options

Answer selected by Robert-Du0001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants