can i open a script with another script? #1100
Answered
by
cornernote
cornernote
asked this question in
Q&A
-
Can we do something like this?
let answer = await arg()
if (answer === 'run') {
await exec(`open 'script-2.js'`)
}
let anotherAnswer = await arg() |
Beta Was this translation helpful? Give feedback.
Answered by
cornernote
Feb 4, 2023
Replies: 2 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Got it :D await exec('~/.kit/kar script-2') |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
cornernote
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Got it :D