shy-army-45455
05/07/2019, 2:02 AM${v}
). Are there any examples on how to do this? I need to get the pure string value so I can use it in a subsequent child_process.exec call.white-balloon-205
exec
- you'd need something like:
output.apply(v => {
exec(v);
});
That is - you only have access to the value of the output within the callback for the apply
, so you'll want to invoke the exec
inside that scope.
This is because the apply
will actually not always run - it will only run once the value of the output is known - which may not be available during a preview. (In the case of StackReference though, I believe it is the case these will always be available).shy-army-45455
05/07/2019, 10:16 PM