|
|
@ -105,11 +105,13 @@ class Access extends EventEmitter { |
|
|
|
return reject(`Failed to parse line ${scriptId}; got [${data}]`); |
|
|
|
return reject(`Failed to parse line ${scriptId}; got [${data}]`); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
shvar({ result }, `Access interact ${scriptId} returns: `); |
|
|
|
|
|
|
|
|
|
|
|
return resolve(result); |
|
|
|
return resolve(result); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
shvar({ scriptId, script }, 'Access interact: '); |
|
|
|
shvar({ script }, 'Access interact: '); |
|
|
|
|
|
|
|
|
|
|
|
stdin?.write(script); |
|
|
|
stdin?.write(script); |
|
|
|
|
|
|
|
|
|
|
@ -151,8 +153,6 @@ const subroutine = async <T extends unknown[]>( |
|
|
|
sub_results: T; |
|
|
|
sub_results: T; |
|
|
|
}>('x', chain, ...subParams); |
|
|
|
}>('x', chain, ...subParams); |
|
|
|
|
|
|
|
|
|
|
|
shvar(results, `${chain} results: `); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return results; |
|
|
|
return results; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|