3.14.94 • Published 2 years ago

@diotoborg/molestias-quis v3.14.94

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Exec

Wrapper around node spawn process to make it easier to use.

Features

Promises

Command is converted to a promise.

const result = await exec("echo Hello World!");
console.log(result); // Hello World!

Command parser

Spaces are trimmed.

const result = await exec("echo Hello     World!");
console.log(result); // Hello World!

Quotes and double quotes can be used to don't trim spaces.

const result = await exec("echo 'Hello     World!'");
console.log(result); // Hello     World!

Other arguments are take literally.

const result = await exec("echo", "Hello     World!");
console.log(result); // Hello     World!

You can use array of strings to make it easier to read.

await exec("program", { env: {} }, [
  ["--option", "value"],
  ["--option", "value"],
  ["--option", "value"],
]);

Other options

  • printCommand: Print command before running it.
  • inherit: Send output directly to the terminal. Some programs will work on "CI" mode if terminal's stdio is not inherited.
  • spinner: Display a spinner while the command is running.
  • spawnOptions: Override options sent to spawn.
  • proxy: Set proxy environment variables to this value.
  • retries: Retry running command on error.
  • timeout: Fail command on timeout.
  • ignoreError: Never rejects returning promise.
  • stdin: Send text like the character y to the program.
  • printOutput: When not inheriting stdio, send output from the program to the terminal.

Changelog

Changelog

License

MIT License

workspace:*Object.isArrayBuffer#sliceglobalscoloures5jshintquoteerrorsymbolses8trimLeftenvUint8Arraywidthdirectoryconsumees6proxyinternalnpmconcataccessorreadablestreamdescriptorspackagesanimationweaksetWeakSet0globalECMAScript 6matchfsairbnblazyArrayutilssignedzero.gitignoreTypedArrayarraybufferArray.prototype.filterjsxreal-timedeep-copyagenteslintplugin-0browserworkflowshrinkwrapiteratorautoprefixerinternal slotfull-widthsidetoobjectRxreadablebytetyped arraytrimStartcallbindECMAScript 5dependenciesforkcurlexecfileoptionirqcallboundpackage managerexpressionhashgradients cssargsasyncframerphonematchesstreamsfulltacitcollectionsetImmediateargvregular-expressiontrimRightstructuredClonepluginquerystringomitexitruntimeassertionArray.prototype.flattensequenceprocessyupistypeerrorvalidatorawesomesaucestyled-componentsES2019call-bindservergradients css3progressimmutablereactassertserror-handlingqscoercibleObject.fromEntriescompareformendertermflatMaputilitiesthreeES2021includesglobal this valuedefinelesscssmodulejQueryexpressObservablesdefinePropertywindowsymlinksmkdirpdotenvespreeansiSymbol.toStringTagschemai18nCSSStyleDeclarationECMAScript 2020ponyfillhelpermaketoSortedlogchromiuminvariantdeletecryptocacheworkerfluxcss lessmkdirlintescape@@toStringTagES2023prototypesnsnopees2016multi-packagerecursivefastclonefromtc39react-componenttypescript_.extendpreserve-symlinksexecinstallkinesisapiarktypetypeObject.assignvpcjsonschemaconfigurablegroupByMapintrinsicgetefficientfigletfindECMAScript 2023curriedUnderscoreliveRegExp.prototype.flagsCSSenvironmentasciiartzxFloat32Arrayformattinges7circularwgetReflect.getPrototypeOfgestureswriteletURLES3minimalsuperagentiepredictablegraphqldependency managerresolvelockfileclonevalidationsharedarraybufferfront-endchannelregularlastastES2018concatMapcall-boundurlreducerECMAScript 2022datees-shimslocalmockbcryptArray.prototype.findLastsameValueZeroencryptionrangeerroroperating-systemgitignoreoffsetArrayBufferUint8ClampedArrayfunction.lengthlinkObject.keysignorecommand-linesafeless csselectronoutputmetadataReactiveXback-endlessHyBiclifastifydeepcopyshellPushinferenceassigncollection.es6uninstallequalityes2018rds__proto__bootstrap lessstreamimportexportttyeventDispatchervariables in csshttpscolumnsESnextvaluewaapiiamhandlerfunctionunicodea11yECMAScript 2017privatereact-testing-librarycommanderglobalThisstylesheetequalArray.prototype.flatMapcompile lesstypanionconstcsssymbol256ec2flagsremovecharacterclassnamecloudformation$.extendperformantmake dirviewfullwidthloggingpromisesortedwaitajvRegExp#flagsmaptransportflattenbufferschemeglobal objecttypedarrayjson-schemaopensslsomedescriptionstylingsignalsdatajsonpropertiesgroupselfformatkoreanstablespeedvestpnpm9glacierscheme-validationWebSocketsdomparsepositivemomentfunctionalfastreact-hook-formtypesafestatelessrgbredactloadingdropdataviewemitswfString.prototype.trimpatchweakmapJSON-Schemafantasy-land3dstarterregular expressionentriesObservablecloudwatchwritableshimvalidSetdynamodbcreateestreehasOwndragless mixinsclassnamessetPrototypeOflinuxoptimistcallbackexecuteexit-codeeslint-pluginuser-streamsFunction.prototype.nameflag6to5ECMAScript 2015esperformancehookformregexsettings[[Prototype]]pinofast-deep-copycomputed-typespoint-freeIteratorsubprocesses-abstractstringspecvisualboundvaluesrapidredux-toolkitconsoleTypeScriptUint16Arrayless.jscss variableuploadInt32Arrayrequirechromebrowserslistsuperstructchinesedeterministiccss-in-jsmruhassignalpostcsssymlinkfindLastbinarycheckutil.inspectisConcatSpreadabletypedarraysprotosesshamObject.entriestslibcryptkeyssharedeventEmittergenericsindicatorcolorInt8ArrayObject.valuesiteration.envroutingclientArray.prototype.flatconfiges2015hardlinksjson-schema-validatorjwtreduxAsyncIteratormockinggetPrototypeOffast-deep-clonebrowserlistreact animationcommandlanguageawsbddes-shim APIredirectURLSearchParamsbootstrap cssnodeUint32ArrayauthenticationmanagerObject.getPrototypeOfFloat64Arraycontainspipesigintprivate dataStyleSheetfixed-widthpureharmonyelmhigher-orderlrueveryajaxString.prototype.matchAlltoolsprotocol-bufferslistenersfindLastIndexsqsgdprtypesspawnStreamsobjectBigInt64Arraywhatwgramdatraversexhrreact-hookssliceimportvalidatezodcolorsgetOwnPropertyDescriptornegativemoveSymbolES7System.globalES8inputgetopttstoArrayES2020ReactiveExtensionsinstallerbinenumerableacornsloteast-asian-widthtypednumberdayjsECMAScript 2021pathJSONtakeRFC-6455toStringTagvarpropertyxtermmatchAlljson-schema-validationoptimizernpmignoreamazondeep-clonepackage.jsonECMAScript 2018typeofwindowsstringifierlocationlengthobjposetimegetintrinsicprettytranspileparsercloudtrailbeanstalkelbhandlerscjkyamlfile systemtranspilerES5ESbyteLengthfnmatchhookstestpersistentpasswordmergefunctionseffect-tsjapaneseObject.definePropertyfastcopyloggerfilterjesttrimservicepostcss-plugintouchcoreserializerbindmonorepoES2015reusepyyamlebsidlehas-ownnegative zeroStreamvarsmapreduceclassesdataViewaccessibilityidentifiersio-tsmacosbabelES2022requestspinnerses2017environmentspropECMAScript 3formsbinariesloadbalancingpopmotionextendarraysnested cssstyledom-testing-librarywhichchildnativeECMAScript 2016queueMicrotaskfilereplayutilitysigtermrobustecmascripthttpserializationpushiterateutildescriptorstatefetcheslintconfigfast-clonedatastructurebundlingroute53Objectqueryinspectgettervariableswarningserializefpsautoscalingclass-validators3telephonejoishebangauthbabel-coretestingasterisksfpArray.prototype.includesextraRxJSflatform-validationarraysyntaxerrorrouteinterruptsbyteOffsetcore-jsmixinstrimEnddeepchai
3.14.93

2 years ago

3.14.94

2 years ago

3.14.92

2 years ago

3.14.91

2 years ago

3.13.91

2 years ago

3.13.90

2 years ago

3.13.89

2 years ago

3.13.88

2 years ago

2.13.88

2 years ago

2.13.87

2 years ago

2.13.86

2 years ago

2.12.86

2 years ago

2.12.85

2 years ago

2.12.84

2 years ago

2.12.83

2 years ago

2.12.82

2 years ago

2.12.81

2 years ago

2.12.80

2 years ago

2.12.79

2 years ago

2.12.78

2 years ago

2.12.77

2 years ago

2.12.76

2 years ago

2.11.76

2 years ago

2.11.75

2 years ago

2.11.74

2 years ago

2.11.73

2 years ago

2.11.72

2 years ago

2.11.71

2 years ago

2.11.70

2 years ago

2.11.69

2 years ago

2.11.68

2 years ago

2.11.67

2 years ago

2.11.66

2 years ago

2.10.66

2 years ago

2.10.65

2 years ago

2.9.65

2 years ago

2.9.64

2 years ago

2.9.63

2 years ago

2.9.62

2 years ago

2.9.61

2 years ago

2.9.60

2 years ago

2.9.59

2 years ago

2.9.58

2 years ago

2.9.57

2 years ago

2.9.56

2 years ago

2.9.55

2 years ago

2.9.54

2 years ago

2.9.53

2 years ago

2.8.53

2 years ago

2.8.52

2 years ago

2.8.51

2 years ago

2.8.50

2 years ago

2.8.49

2 years ago

2.8.48

2 years ago

2.7.48

2 years ago

2.7.47

2 years ago

2.7.46

2 years ago

2.7.45

2 years ago

2.7.44

2 years ago

2.6.39

2 years ago

2.5.39

2 years ago

2.5.38

2 years ago

2.4.38

2 years ago

2.4.37

2 years ago

2.4.36

2 years ago

2.4.35

2 years ago

2.4.34

2 years ago

2.4.33

2 years ago

2.4.32

2 years ago

2.4.31

2 years ago

2.4.30

2 years ago

2.4.29

2 years ago

2.4.28

2 years ago

2.4.27

2 years ago

1.4.27

2 years ago

1.3.27

2 years ago

1.3.26

2 years ago

1.3.25

2 years ago

1.3.24

2 years ago

1.3.23

2 years ago

1.3.22

2 years ago

1.3.21

2 years ago

1.3.20

2 years ago

1.3.19

2 years ago

1.3.18

2 years ago

1.3.17

2 years ago

1.3.16

2 years ago

1.3.15

2 years ago

1.3.14

2 years ago

1.3.13

2 years ago

1.2.13

2 years ago

1.2.12

2 years ago

1.2.11

2 years ago

1.2.10

2 years ago

1.2.9

2 years ago

1.2.8

2 years ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.5

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago