Forum Discussion
jamesv
7 years agoNew Contributor II
Dug into this again today and found an answer in a Stack Overflow post: linux - How to terminate a python subprocess launched with shell=True - Stack Overflow
- sriram8 years agoFormer Employee
Upon completion of the read operation, the “Multi File Reader” snap produces an output document that contains this field: content-location. Pass $[‘content-location’] to the “File Delete” snap with expression enabled for the “File” property. To ensure files are deleted only at the time of pipeline execution, uncheck “Execute during preview” on the File Delete snap.
Note: Currently, the “File Delete” snap supports deletions one file at a time.