The best way to do this is to include your child and parent packages in the same project and use project variables to pass to the child package. You can call or change the value in the child package and the value would be available in the parent package as well.