at15 / mk-fld

A MATLAB program that use M-K model to calculate FLD and FLSD
Apache License 2.0
3 stars 2 forks source link

Golang does not wait for matlab to complete execution #12

Open at15 opened 8 years ago

at15 commented 8 years ago

There are two possible reasons

The possible solutions are

at15 commented 8 years ago

https://github.com/shirou/gopsutil/ is used for inspect a running process, golang does not provide this kind of function .... ( I guess even nodejs has more support for this, ie: pm2)

at15 commented 8 years ago

got stuck on using gopsutil, maybe use tasklist on windows is a better idea, it can get memory usage and see if a process is still running. typeperf can also be used http://superuser.com/questions/1005945/command-line-utility-to-see-list-of-tasks-cpu-usage-memory-and-execute