-
Notifications
You must be signed in to change notification settings - Fork 744
Enter text to prompt #203
Copy link
Copy link
Closed
Description
Hey there,
I'm trying to automate a build process for Android apps with gulp. Here is the gulp task I have wrapped around shelljs:
gulp.task('jarsign-android', function(callback){
var command = 'jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore release-key.keystore <path-to-apk> release';
sh.exec(command, callback);
});
However the jarsigner command asks for the password to the keystore file with a prompt:
Enter Passphrase for keystore:
Is there a way to pipe in commands from the terminal while using the sh.exec command?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels