[Cppcms-users] cppcms::service and system(..)
Brought to you by:
artyom-beilis
From: Christian G. <chr...@gm...> - 2012-07-18 11:04:19
|
Hi all, I would like to implement a Service class based on cppcms::service. I would like to trigger the rpc call via java script (works) and in the Service class I would like to use system() function to execute a bash script. If after executing/while executing the system function the cppcms apps hangs completely. My Service implements also a RPC call which does a reboot of the system - which works. Any idea what could went wrong? thanks --- Christian Gmeiner, MSc |