Open garlick opened 4 months ago
This isn't an issue with flux run --add-file
, but probably somewhere else in ingest pipeline that loads the JSON jobspec.
That is, flux run --add-file --dry-run
works:
$ flux run --add-file=zero --dry-run hostname | jq .attributes.system.files
{
"zero": {
"mode": 33152,
"size": 8,
"data": "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000",
"encoding": "utf-8"
}
}
Problem:
flux run --add-file
doesn't work with files that contain embedded nulls:I didn't look too closely but this seems like it might not be functioning as designed. At the very least, this should be documented in the man page.