fredericgermain / LeakTracer

Continuation of the LeakTracer project
http://www.andreasen.org/LeakTracer/
GNU General Public License v2.0
315 stars 120 forks source link

helper: Fix leak-check execution #13

Open honggyukim opened 5 years ago

honggyukim commented 5 years ago

In some cases, leak-check cannot pass the target execution parameters in its original form. In some cases, the execution might be failed as follows:

  $ leak-check node -e ''
  LeakTracer 3.0.0 (shared library) -- LGPLv2
  node: -e requires an argument

If leak-check is not used, it executes normally.