• This project
    • Loading...
  • Sign in

최시원 / Singer-Composer

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • Singer-Composer
  • node_modules
  • pstree.remy
  • tests
  • fixtures
  • index.js
  • 고승완's avatar
    Add base code · 9ee6969c
    9ee6969c
    고승완 authored 2021-11-14 14:14:08 +0900
index.js 282 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13
const spawn = require('child_process').spawn;
function run() {
  spawn(
    'sh',
    ['-c', 'node -e "setInterval(() => console.log(`running`), 200)"'],
    {
      stdio: 'pipe',
    }
  );
}

var runCallCount = process.argv[2] || 1;
for (var i = 0; i < runCallCount; i++) run();