azer / memdiff

BDD style memory leak hunting tool
153 stars 2 forks source link

Conflict between memdiff arguments and program arguments #5

Open fcsonline opened 11 years ago

fcsonline commented 11 years ago

If I execute memdiff with some nodejs script that has some reference to process.argv the arguments are wrong.

Other nodejs tools like supervisor have tool arguments and program arguments.

supervisor [options] -- <program> [args ...]

azer commented 11 years ago

I see. This is caused by this line: https://github.com/azer/memdiff/blob/master/bin/memdiff#L30

will take a look at this once I have time

fcsonline commented 11 years ago

I'll try to fix it also as I described above