6 kyu

Node.js Async I/O

480 of 491user5854572
Description
Loading description...
Asynchronous
Strings
Fundamentals
  • Please sign in or sign up to leave a comment.
  • 21Michael Avatar

    'hi\n', instead got: 'h i\n' Wtf?

  • dfhwze Avatar

    Anyone solved this in Coffeescript? Is it still possible to solve it?

    Error: Cannot find module 'exec-sync'
    
  • gkatsanos Avatar

    I'll agree that this was a good intro to child_process but not so much about Async.

  • git-srinivas Avatar

    I am passing all the test cases except the below one. Can some one help me with this?

    should actually run all callbacks
    Value is not what was expected

  • mitron6 Avatar

    Great kata. Just tricky enough to keep it interesting.

  • Voile Avatar

    This comment has been hidden.

  • Voile Avatar

    The kata is not solvable normally anymore because the codewars VM doesn't have cal anymore, so it can't be executed:

    command: 'cal'
    stdout: /bin/sh: 1: cal: not found
    error: 
    { Error: Command failed: kbm426p
    /bin/sh: 1: kbm426p: not found
       at ChildProcess.exithandler (child_process.js:206:12)
        at emitTwo (events.js:106:13)
        at ChildProcess.emit (events.js:191:7)
        at maybeClose (internal/child_process.js:877:16)
        at Socket. (internal/child_process.js:334:11)
        at emitOne (events.js:96:13)
        at Socket.emit (events.js:188:7)
        at Pipe._handle.close [as _onclose] (net.js:493:12) killed: false, code: 127, signal: null, cmd: 'kbm426p' }
    
  • barakplasma Avatar

    This wasn't a great Async exercise. It was a great child__process introduction

  • forrestbthomas Avatar

    I thought this was a good kata. I hadn't used Node's child-process module before, so the link to the docs were great. Good problem description as well. Kudos.