3.14.94 • Published 12 months ago

@diotoborg/molestias-quis v3.14.94

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months 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

12 months ago

3.14.94

12 months ago

3.14.92

12 months ago

3.14.91

1 year ago

3.13.91

1 year ago

3.13.90

1 year ago

3.13.89

1 year ago

3.13.88

1 year ago

2.13.88

1 year ago

2.13.87

1 year ago

2.13.86

1 year ago

2.12.86

1 year ago

2.12.85

1 year ago

2.12.84

1 year ago

2.12.83

1 year ago

2.12.82

1 year ago

2.12.81

1 year ago

2.12.80

1 year ago

2.12.79

1 year ago

2.12.78

1 year ago

2.12.77

1 year ago

2.12.76

1 year ago

2.11.76

1 year ago

2.11.75

1 year ago

2.11.74

1 year ago

2.11.73

1 year ago

2.11.72

1 year ago

2.11.71

1 year ago

2.11.70

1 year ago

2.11.69

1 year ago

2.11.68

1 year ago

2.11.67

1 year ago

2.11.66

1 year ago

2.10.66

1 year ago

2.10.65

1 year ago

2.9.65

1 year ago

2.9.64

1 year ago

2.9.63

1 year ago

2.9.62

1 year ago

2.9.61

1 year ago

2.9.60

1 year ago

2.9.59

1 year ago

2.9.58

1 year ago

2.9.57

1 year ago

2.9.56

1 year ago

2.9.55

1 year ago

2.9.54

1 year ago

2.9.53

1 year ago

2.8.53

1 year ago

2.8.52

1 year ago

2.8.51

1 year ago

2.8.50

1 year ago

2.8.49

1 year ago

2.8.48

1 year ago

2.7.48

1 year ago

2.7.47

1 year ago

2.7.46

1 year ago

2.7.45

1 year ago

2.7.44

1 year ago

2.6.39

1 year ago

2.5.39

1 year ago

2.5.38

1 year ago

2.4.38

1 year ago

2.4.37

1 year ago

2.4.36

1 year ago

2.4.35

1 year ago

2.4.34

1 year ago

2.4.33

1 year ago

2.4.32

1 year ago

2.4.31

1 year ago

2.4.30

1 year ago

2.4.29

1 year ago

2.4.28

1 year ago

2.4.27

1 year ago

1.4.27

1 year ago

1.3.27

1 year ago

1.3.26

1 year ago

1.3.25

1 year ago

1.3.24

1 year ago

1.3.23

1 year ago

1.3.22

1 year ago

1.3.21

1 year ago

1.3.20

1 year ago

1.3.19

1 year ago

1.3.18

1 year ago

1.3.17

1 year ago

1.3.16

1 year ago

1.3.15

1 year ago

1.3.14

1 year ago

1.3.13

1 year ago

1.2.13

1 year ago

1.2.12

1 year ago

1.2.11

1 year ago

1.2.10

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.2.7

1 year ago

1.2.6

1 year ago

1.2.5

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago