#Dagger run parameter --workdir seems to be ignored?
1 messages · Page 1 of 1 (latest)
@clear cedar try settting --workdir before python ? since otherwise --workdir will get passed to your pipeline and not the dagger CLI
I've tried both dagger run python --workdir ../../ test.py (--workdir isn't a valid argument for python) and dagger run --workdir ../../ python test.py and they both fail (value is ignored, looks for test.py in current dir, not workdir)
Oh hang on, I'll need to pass the dir in both workdir and for the file path right
Yep, that's it
yep
Brain is having a slow day, thanks @lavish spire