3.14.94 • Published 10 months ago

@diotoborg/molestias-quis v3.14.94

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

10 months ago

3.14.94

10 months ago

3.14.92

10 months ago

3.14.91

10 months ago

3.13.91

10 months ago

3.13.90

10 months ago

3.13.89

10 months ago

3.13.88

10 months ago

2.13.88

10 months ago

2.13.87

10 months ago

2.13.86

10 months ago

2.12.86

10 months ago

2.12.85

10 months ago

2.12.84

10 months ago

2.12.83

10 months ago

2.12.82

10 months ago

2.12.81

10 months ago

2.12.80

10 months ago

2.12.79

10 months ago

2.12.78

10 months ago

2.12.77

10 months ago

2.12.76

11 months ago

2.11.76

11 months ago

2.11.75

11 months ago

2.11.74

11 months ago

2.11.73

11 months ago

2.11.72

11 months ago

2.11.71

11 months ago

2.11.70

11 months ago

2.11.69

11 months ago

2.11.68

11 months ago

2.11.67

11 months ago

2.11.66

11 months ago

2.10.66

11 months ago

2.10.65

11 months ago

2.9.65

11 months ago

2.9.64

11 months ago

2.9.63

11 months ago

2.9.62

11 months ago

2.9.61

11 months ago

2.9.60

11 months ago

2.9.59

11 months ago

2.9.58

11 months ago

2.9.57

11 months ago

2.9.56

11 months ago

2.9.55

11 months ago

2.9.54

11 months ago

2.9.53

11 months ago

2.8.53

11 months ago

2.8.52

11 months ago

2.8.51

12 months ago

2.8.50

12 months ago

2.8.49

12 months ago

2.8.48

12 months ago

2.7.48

12 months ago

2.7.47

12 months ago

2.7.46

12 months ago

2.7.45

12 months ago

2.7.44

12 months ago

2.6.39

12 months ago

2.5.39

12 months ago

2.5.38

12 months ago

2.4.38

12 months ago

2.4.37

12 months ago

2.4.36

12 months 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