@@ -354,13 +354,20 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
354
354
step ( ( generator = generator . apply ( thisArg , _arguments || [ ] ) ) . next ( ) ) ;
355
355
} ) ;
356
356
} ;
357
+ var __importStar = ( this && this . __importStar ) || function ( mod ) {
358
+ if ( mod && mod . __esModule ) return mod ;
359
+ var result = { } ;
360
+ if ( mod != null ) for ( var k in mod ) if ( Object . hasOwnProperty . call ( mod , k ) ) result [ k ] = mod [ k ] ;
361
+ result [ "default" ] = mod ;
362
+ return result ;
363
+ } ;
357
364
Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
358
- const os = __webpack_require__ ( 87 ) ;
359
- const events = __webpack_require__ ( 614 ) ;
360
- const child = __webpack_require__ ( 129 ) ;
361
- const path = __webpack_require__ ( 622 ) ;
362
- const io = __webpack_require__ ( 1 ) ;
363
- const ioUtil = __webpack_require__ ( 672 ) ;
365
+ const os = __importStar ( __webpack_require__ ( 87 ) ) ;
366
+ const events = __importStar ( __webpack_require__ ( 614 ) ) ;
367
+ const child = __importStar ( __webpack_require__ ( 129 ) ) ;
368
+ const path = __importStar ( __webpack_require__ ( 622 ) ) ;
369
+ const io = __importStar ( __webpack_require__ ( 1 ) ) ;
370
+ const ioUtil = __importStar ( __webpack_require__ ( 672 ) ) ;
364
371
/* eslint-disable @typescript-eslint/unbound-method */
365
372
const IS_WINDOWS = process . platform === 'win32' ;
366
373
/*
@@ -804,6 +811,12 @@ class ToolRunner extends events.EventEmitter {
804
811
resolve ( exitCode ) ;
805
812
}
806
813
} ) ;
814
+ if ( this . options . input ) {
815
+ if ( ! cp . stdin ) {
816
+ throw new Error ( 'child process missing stdin' ) ;
817
+ }
818
+ cp . stdin . end ( this . options . input ) ;
819
+ }
807
820
} ) ;
808
821
} ) ;
809
822
}
@@ -2870,8 +2883,15 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
2870
2883
step ( ( generator = generator . apply ( thisArg , _arguments || [ ] ) ) . next ( ) ) ;
2871
2884
} ) ;
2872
2885
} ;
2886
+ var __importStar = ( this && this . __importStar ) || function ( mod ) {
2887
+ if ( mod && mod . __esModule ) return mod ;
2888
+ var result = { } ;
2889
+ if ( mod != null ) for ( var k in mod ) if ( Object . hasOwnProperty . call ( mod , k ) ) result [ k ] = mod [ k ] ;
2890
+ result [ "default" ] = mod ;
2891
+ return result ;
2892
+ } ;
2873
2893
Object . defineProperty ( exports , "__esModule" , { value : true } ) ;
2874
- const tr = __webpack_require__ ( 9 ) ;
2894
+ const tr = __importStar ( __webpack_require__ ( 9 ) ) ;
2875
2895
/**
2876
2896
* Exec a command.
2877
2897
* Output will be streamed to the live console.
0 commit comments