MichalGniadek/klask

Using hash / UUID for the environment variable

Closed this issue · 1 comments

I know this almost never happens in reality, but suppose we have two apps built using Klask running at the same time on the same shell. Then the environment variable used to determine whether the program is a child or on its own would be looked up by the two applications, at the same time. I suggest using an hash or an UUID to be be sure that the application running isn't conflicting with any other. I don't know if it's feasible, but it looks like so.

Oh, it seems that I am wrong. The child app is spawned with its very own environment, so they can't conflict.