Improve apns_utils:sing/1
in order to use os:cmd/1
instead of ktn_os:command/1
#159
Milestone
apns_utils:sing/1
in order to use os:cmd/1
instead of ktn_os:command/1
#159
As @getong points out in #157, there is a race condition that was fixed in
os:cmd
here.We still need
ktn_os:command
because we want to find out the exit status code of the command we're running. The idea is to replacektn_os:command/1
byos:cmd/1
, but wrappingos:cmd/1
function in another one adding the necessary logic to validate if the command was executed successfully or not.Possible solution:
The text was updated successfully, but these errors were encountered: