Skip to content
This repository was archived by the owner on Feb 10, 2021. It is now read-only.

Custom script#24

Open
mrocklin wants to merge 2 commits intodask:masterfrom
mrocklin:custom-script
Open

Custom script#24
mrocklin wants to merge 2 commits intodask:masterfrom
mrocklin:custom-script

Conversation

@mrocklin
Copy link
Copy Markdown
Member

@mrocklin mrocklin commented May 3, 2017

Extends #22 cc @maxvitek

This adds a test and handles relative paths.

Currently the test fails. Oddly having a remoteCommand that is an absolute path seems to fail while having a remoteCommand that is of the form ./foo.sh works fine. cc @davidr in case he has thoughts on why this might be.

maxvitek and others added 2 commits May 3, 2017 10:56
set `self.script` if a custom script is specified
@jakirkham
Copy link
Copy Markdown
Member

Given what you have found about testing, am wondering if it would be better to just pass the script contents in as an argument. Thus it could just be written out and run. Personally have been skirting this issue by setting preexec_commands and including \ to continue the line if needed (e.g. run dask-worker in a specific context).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants